diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2018-05-23 08:11:58 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2018-05-23 08:11:58 -0300 |
commit | ac48b0fa468c47ff5ac878191f2de37a9b76a49e (patch) | |
tree | a1ebc4fdf055cf8fe5661f0ddf58fa3ec3e45f35 /status | |
parent | 03d3b1cc6f45049efc063dc7cfda35567c168713 (diff) | |
download | scripts-ac48b0fa468c47ff5ac878191f2de37a9b76a49e.tar.gz scripts-ac48b0fa468c47ff5ac878191f2de37a9b76a49e.tar.bz2 |
De-uglify a bit todo and status outputs
Diffstat (limited to 'status')
-rwxr-xr-x | status | 7 |
1 files changed, 6 insertions, 1 deletions
@@ -72,7 +72,7 @@ function status_run { # Check your reminders if which remind &> /dev/null && [ -e "$HOME/.reminders" ]; then - remind ~/.reminders | grep -v '^No reminders.$' + remind ~/.reminders | grep -v '^No reminders.$'# | tr '[:upper:]' '[:lower:]' fi # Update your mrconfig and check all registered repositories @@ -101,6 +101,11 @@ function status_run { # Check if are dangling downloaded files if [ -e "$HOME/load" ] && [ ! -z "`ls -1 ~/load/`" ]; then + # Print a newline if needed depending of the output of the previous commands + if [ ! -z "`postponed`" ] || [ ! -z "`unread-emails`" ]; then + echo "" + fi + echo "Dangling files at ~/load:" echo "" ls -lh ~/load/ |