diff options
author | David Phillips <david@sighup.nz> | 2017-04-20 20:33:04 +1200 |
---|---|---|
committer | David Phillips <david@sighup.nz> | 2017-04-20 20:33:04 +1200 |
commit | 16ff7800936e3f629798f86addc4ea7ce9663956 (patch) | |
tree | fd6be15d07f5d85804c45011931728d4a1eb3baf | |
parent | abee89d80e889a682fc239e71f4acb65b1c76dcf (diff) | |
download | dotfiles-16ff7800936e3f629798f86addc4ea7ce9663956.tar.xz |
Don't tell when no currency cache directory
-rw-r--r-- | bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -49,6 +49,6 @@ fi [ -d ~/Maildir/new/ ] && [ "$(ls ~/Maildir/new/)" ] && echo 'New mail' -[ -z "$(ls -A ~/.cache/currency)" ] || for c in ~/.cache/currency/* ; do +[ -z "$(ls -A ~/.cache/currency 2>/dev/null)" ] || for c in ~/.cache/currency/* ; do echo "$(cat $c) (at $(date +"%a %d %H:%M" --date=@$(stat -c %Y $c)))" done |