From 3c07f63390526c65e569648f2b3bc42465f9e135 Mon Sep 17 00:00:00 2001 From: Silvio Rhatto Date: Sun, 14 May 2017 13:58:28 -0300 Subject: Replace 'ztd' script by 'status' and 'done' --- status | 35 +++++++++++++++++++++++++++++++++-- 1 file changed, 33 insertions(+), 2 deletions(-) (limited to 'status') 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 -- cgit v1.2.3