summaryrefslogtreecommitdiff
path: root/11_Prompts.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2008-02-15 14:03:21 +0100
committerHugues Hiegel <hugues@hiegel.fr>2008-03-07 14:15:20 +0100
commit694cc2d44082c897c59d44cacaafc5dc2670aa5f (patch)
tree8909be0a1eca0cedab6a4a5f751369e046b715f0 /11_Prompts.zsh
parent0c222f012106a0b93b8238444aa354a83c27d862 (diff)
=?utf-8?q?Un=20chtit=20"bug"=20avec=20awk=20qui=20compte=20toujours=20un=20message=20vide
=20dans=20les=20log=20de=20procmail,=20faussant=20donc=20le=20comptage=20des=20mails =20re=C3=A7us...=20:)?= MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="------------1.5.4.1" This is a multi-part message in MIME format. --------------1.5.4.1 Content-Type: text/plain; charset=UTF-8; format=fixed Content-Transfer-Encoding: 8bit
Diffstat (limited to '11_Prompts.zsh')
-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 ##