diff options
author | David Phillips <dbphillipsnz@gmail.com> | 2016-09-03 21:03:48 +1200 |
---|---|---|
committer | David Phillips <dbphillipsnz@gmail.com> | 2016-09-03 21:03:48 +1200 |
commit | 47158da717f6b96fe7e5b8d61311d7be7530f430 (patch) | |
tree | afcab2fc905e77c8509d7f59b5b340dfc40f164c /bashrc | |
parent | 5a44b4b94c156e01809056a150fbe036061fbf3f (diff) | |
download | dotfiles-47158da717f6b96fe7e5b8d61311d7be7530f430.tar.xz |
Add check for new mail in ~/Maildir, tidy blank to do list
Diffstat (limited to 'bashrc')
-rw-r--r-- | bashrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -58,8 +58,6 @@ echo Running $(uname) $(uname -r) on $(uname -n) \($(uname -m)\) if [ -f ~/todo ]; then echo To do: cat ~/todo -else - echo To do list empty fi if [ -f ~/.cache/weather/forecast ]; then @@ -67,3 +65,5 @@ if [ -f ~/.cache/weather/forecast ]; then echo Weather: cat ~/.cache/weather/forecast | while read -r l ; do echo " "$l ; done fi + +[ "$(ls ~/Maildir/new/)" ] && echo 'New mail' |