aboutsummaryrefslogtreecommitdiff
path: root/status
diff options
context:
space:
mode:
Diffstat (limited to 'status')
-rwxr-xr-xstatus35
1 files changed, 33 insertions, 2 deletions
diff --git a/status b/status
index b12e83b..98a11f0 100755
--- a/status
+++ b/status
@@ -1,6 +1,37 @@
#!/bin/bash
#
-# Check project status using mr.
+# Check the overall status of your work.
#
-mrconfig-updater && mr -m status
+# Parameters
+PROJECT="$1"
+
+# Dispatch
+if [ ! -z "$PROJECT" ]; then
+ # Check the status of the given project
+ cd $PROJECT &> /dev/null && git status
+else
+ # Ensure we are in the home folder
+ cd
+
+ # Check your reminders
+ if [ -e "$HOME/.reminders" ]; then
+ remind ~/.reminders | grep -v '^No reminders.$'
+ fi
+
+ # Update your mrconfig and check all registered repositories
+ mrconfig-updater && mr -m status
+
+ # Check your TODO lists
+ todo
+
+ # Check if you have mails to send
+ postponed
+
+ # Check if are dangling downloaded files
+ if [ -e "$HOME/load" ] && [ ! -z "`ls -1 ~/load/`" ]; then
+ echo "Dangling files at ~/load:"
+ echo ""
+ ls -lh ~/load/
+ fi
+fi