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 201a377..60f5ec8 100644
--- a/11_Prompts.zsh
+++ b/11_Prompts.zsh
@@ -136,7 +136,7 @@ precmd ()
"$C_$COLOR_USER$_C"%n"$C_$COLOR_AROB$_C"@"$C_$COLOR_HOST$_C"%m $CURDIR$GITBRANCH "$C_$COLOR_DIES$_C"%#"$C_$COLOR_CMD$_C" "
# Mailcheck
- [ -s ~/.procmail/procmail.log ] && [ `< ~/.procmail/procmail.log awk 'BEGIN {RS="From" ; HAM=0} !/JUNK/ { HAM++ } END { print HAM }'` -gt 1 ] && sbin/mails
+ [ -s ~/.procmail/procmail.log ] && [ `< ~/.procmail/procmail.log awk 'BEGIN {RS="From" ; HAM=0} !/JUNK/ { HAM++ } END { print HAM }'` -gt 1 ] && sbin/mails | grep -v JUNK
}
chpwd()