summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Friesel <derf@derf.homelinux.org>2008-10-16 21:53:53 +0200
committerDaniel Friesel <derf@derf.homelinux.org>2008-10-16 21:53:53 +0200
commitdcea3ee01345facb0be09c1c1a6ef5ce1c837ca4 (patch)
tree6992b65f48bdfe4ce36f70c15617bd4a56b1d2d3
parent73b0430c2b0e8d0bdbacfc77321ad48a33d9d05f (diff)
zprofile: Check for new mail
-rw-r--r--etc/profile1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/profile b/etc/profile
index e7807f2..aa9c7d2 100644
--- a/etc/profile
+++ b/etc/profile
@@ -1,2 +1,3 @@
source $HOME/packages/zsh/etc/colors
print -P "${info}>>${reset} this is ${info}`uname -srm`${reset} on ${info}%y${reset}"
+[[ -n $(echo Maildir/new/*(N)) ]] && echo "${info}>>${reset} You have mail!"