diff options
author | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-16 21:53:53 +0200 |
---|---|---|
committer | Daniel Friesel <derf@derf.homelinux.org> | 2008-10-16 21:53:53 +0200 |
commit | dcea3ee01345facb0be09c1c1a6ef5ce1c837ca4 (patch) | |
tree | 6992b65f48bdfe4ce36f70c15617bd4a56b1d2d3 | |
parent | 73b0430c2b0e8d0bdbacfc77321ad48a33d9d05f (diff) |
zprofile: Check for new mail
-rw-r--r-- | etc/profile | 1 |
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!" |