From 37c79a74a154088a6cf056f88a12417089376ed2 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 7 Feb 2008 12:19:57 +0100 Subject: Git-status will be better like this. --- 11_Prompts.zsh | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to '11_Prompts.zsh') diff --git a/11_Prompts.zsh b/11_Prompts.zsh index 60f5ec8..b680a79 100644 --- a/11_Prompts.zsh +++ b/11_Prompts.zsh @@ -44,8 +44,8 @@ COLOR_BAR="0;$GENERIC;$BOLD" COLOR_BRACES=$COLOR_BAR COLOR_BRANCH_OR_REV="0;$GENERIC" -COLOR_NOT_UP_TODATE="0;$GREEN;$BOLD" -COLOR_TOBE_COMMITED="0;$YELLOW;$BOLD" +COLOR_NOT_UP_TO_DATE="0;$GREEN;$BOLD" +COLOR_TO_BE_COMMITED="0;$YELLOW;$BOLD" COLOR_CMD="$VOID" COLOR_EXEC="$VOID" @@ -105,6 +105,8 @@ precmd () SVNREV= fi + check_git_status + ## First line of prompt : # # -ERR------------------------git-svn-[ date ]- @@ -137,12 +139,12 @@ precmd () # Mailcheck [ -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() { which todo > /dev/null 2>&1 && todo - check_git_status } -- cgit v1.2.3