summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/bashrc b/bashrc
index fb322db..4f293ee 100644
--- a/bashrc
+++ b/bashrc
@@ -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