summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--11_Prompts.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/11_Prompts.zsh b/11_Prompts.zsh
index c014f77..f8fde5e 100644
--- a/11_Prompts.zsh
+++ b/11_Prompts.zsh
@@ -92,7 +92,7 @@ precmd ()
errorsize=4
# Mailcheck
- MAILSTAT="`[ -s ~/.procmail/procmail.log ] && < ~/.procmail/procmail.log awk 'BEGIN {RS="From" ; HAM=1} !/JUNK/ { HAM++ } END { if (HAM > 0) { print "-You got mail !-" } }'`"
+ MAILSTAT="`[ -s ~/.procmail/procmail.log ] && < ~/.procmail/procmail.log awk 'BEGIN {RS="From" ; HAM=-1} !/JUNK/ { HAM++ } END { if (HAM > 0) { print "-You got mail !-" } }'`"
## SVN TRACKING ##