summaryrefslogtreecommitdiff
path: root/11_Prompts.zsh
diff options
context:
space:
mode:
Diffstat (limited to '11_Prompts.zsh')
-rw-r--r--11_Prompts.zsh3
1 files changed, 3 insertions, 0 deletions
diff --git a/11_Prompts.zsh b/11_Prompts.zsh
index 8265210..315058d 100644
--- a/11_Prompts.zsh
+++ b/11_Prompts.zsh
@@ -134,6 +134,9 @@ precmd ()
# de pourrir le fenĂȘtre de terminal avec un prompt Ă  rallonge.
PS1=$C_$COLOR_BAR$_C"-""$ERROR$HBAR"$C_$COLOR_SVN$_C"$SVNREV"$C_$COLOR_BAR$_C"-"$C_$COLOR_BRACES$_C"[ "$C_$COLOR_DATE$_C$DATE$C_$COLOR_BRACES$_C" ]"$C_$COLOR_BAR$_C"-
"$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 ] && sbin/mails
}
chpwd()