diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2017-05-14 13:58:28 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2017-05-14 13:58:28 -0300 |
commit | 3c07f63390526c65e569648f2b3bc42465f9e135 (patch) | |
tree | d774107729d7823aa648ef16ddb6a0d5bb661771 /status | |
parent | fec935a411d77e40957e6bf08ea62d001413d12c (diff) | |
download | scripts-3c07f63390526c65e569648f2b3bc42465f9e135.tar.gz scripts-3c07f63390526c65e569648f2b3bc42465f9e135.tar.bz2 |
Replace 'ztd' script by 'status' and 'done'
Diffstat (limited to 'status')
-rwxr-xr-x | status | 35 |
1 files changed, 33 insertions, 2 deletions
@@ -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 |