From 61496d14d37f570b121132c056e49a0ab3b80f73 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Wed, 2 May 2012 12:08:21 +0200 Subject: [Git] stashed commits: reset color for stash signs. --- 01_Internal.zsh | 1 + 1 file changed, 1 insertion(+) (limited to '01_Internal.zsh') diff --git a/01_Internal.zsh b/01_Internal.zsh index 0194ef4..6f76d1e 100644 --- a/01_Internal.zsh +++ b/01_Internal.zsh @@ -204,6 +204,7 @@ __get_git_branch () # Show number of stashed commits by appending '+' signs for each local _stashed=$(git stash list | wc -l ) + [ "$_stashed" -gt 0 ] && my_git_branch+=$C_$_prompt_colors[bold_generic]$_C [ "$_stashed" -gt 0 ] && for i in {1..$_stashed} do my_git_branch+="+" -- cgit v1.2.3