diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-02-24 12:58:25 +0100 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-02-24 12:58:25 +0100 |
commit | 7cffacff4514316d2028068fe0825f8e1ec8b5a9 (patch) | |
tree | 95ed7e849ba861ab65003865601cc4cda9f70a34 /12_Prompts.zsh | |
parent | f0413d746353cbb73e9fdbc027214986a7adc3f6 (diff) |
[Prompts] get rids of annoying get_git_status breaks which concatenated paths & git_branch
Diffstat (limited to '12_Prompts.zsh')
-rw-r--r-- | 12_Prompts.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
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 } |