From d606c89b6732ed4b8ec348ab6b82113bb74bf287 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 3 Jun 2011 14:56:10 +0200 Subject: [Prompt] Do not check svn status by default --- 12_Prompts.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12_Prompts.zsh b/12_Prompts.zsh index 5b01780..4c56d95 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -231,7 +231,7 @@ update_prompt_elements() SVNREVSIZE=${#${SVNREV:+ r$SVNREV}} if [ "$SVNREV" != "" ] then - if [ -z "$DO_NOT_CHECK_SVN_STATUS" ] + if [ ! -z "$CHECK_SVN_STATUS" ] then SVNSTATUS="$(svn diff 2>&-)" SVNSTATUS=${${SVNSTATUS:+$prompt_colors[not_up_to_date]}:-$prompt_colors[up_to_date]} -- cgit v1.2.3 From 6408c507f40f42b6751554549f3b02f4017df804 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 22 Sep 2011 14:58:53 +0200 Subject: [Prompt] Shows display into parenthesis --- 12_Prompts.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/12_Prompts.zsh b/12_Prompts.zsh index 4c56d95..aa0fc38 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -325,7 +325,7 @@ two_lines_prompt () ## Le prompt le plus magnifique du monde, et c'est le mien ! # Affiche l'user, l'host, le tty et le pwd. Rien que ça... PS1=$AGENTS$MAILSTAT$ERROR$BATTERY$C_$prompt_colors[bar]$_C$STLINUX$HBAR$DATE" -"$C_"30;1"$_C$SHLVL"-"$C_$prompt_color[default]$_C$C_$prompt_colors[user]$_C"%n"$C_$prompt_colors[arob]$_C"@"$C_$prompt_colors[host]$_C"%m"$C_$prompt_colors[display]$_C"$DISPLAY "$CURDIR$CVSTAG$SVNREV$GITBRANCH$HGBRANCH" "$C_$prompt_colors[dies]$_C"%#"$C_$prompt_colors[cmd]$_C" " +"$C_"30;1"$_C$SHLVL"-"$C_$prompt_color[default]$_C$C_$prompt_colors[user]$_C"%n"$C_$prompt_colors[arob]$_C"@"$C_$prompt_colors[host]$_C"%m"$C_$prompt_colors[display]$_C"($DISPLAY) "$CURDIR$CVSTAG$SVNREV$GITBRANCH$HGBRANCH" "$C_$prompt_colors[dies]$_C"%#"$C_$prompt_colors[cmd]$_C" " } -- cgit v1.2.3