From dcea3ee01345facb0be09c1c1a6ef5ce1c837ca4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 16 Oct 2008 21:53:53 +0200 Subject: zprofile: Check for new mail --- etc/profile | 1 + 1 file changed, 1 insertion(+) (limited to 'etc') 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!" -- cgit v1.2.3