From 7cffacff4514316d2028068fe0825f8e1ec8b5a9 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 24 Feb 2012 12:58:25 +0100 Subject: [Prompts] get rids of annoying get_git_status breaks which concatenated paths & git_branch --- 12_Prompts.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to '12_Prompts.zsh') diff --git a/12_Prompts.zsh b/12_Prompts.zsh index 615b39f..3664b2b 100644 --- a/12_Prompts.zsh +++ b/12_Prompts.zsh @@ -323,7 +323,7 @@ __update_prompt_elements() # then we reduce the path until it reaches the last path element, spaceleft=$(($spaceleft - $GITBRANCHSIZE)) [ $spaceleft -lt $minimalpathsize ] && spaceleft=$minimalpathsize - GITBRANCH=${GITBRANCH:+ $C_"$(__get_git_status)"$_C$GITBRANCH}"$(__get_guilt_series)$C_$color[none]$_C" + GITBRANCH=${GITBRANCH:+$C_"$(__get_git_status)"$_C$GITBRANCH}"$(__get_guilt_series)$C_$color[none]$_C" CURDIR="$C_$_prompt_colors[path]$_C%`echo $spaceleft`<..<"$MY_PATH"%<<$C_$color[none]$_C" [ "$DEBUG" = "yes" ] && echo } -- cgit v1.2.3