diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2012-05-02 12:08:21 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues@hiegel.fr> | 2012-05-15 15:29:33 +0200 |
commit | 61496d14d37f570b121132c056e49a0ab3b80f73 (patch) | |
tree | c23fc4ffeb88295fa3c7fcad1f9ef2ad171c7b90 /01_Internal.zsh | |
parent | 2cdb2bd5e89e7975201146c6da64d6b7d10cf04d (diff) |
[Git] stashed commits: reset color for stash signs.
Diffstat (limited to '01_Internal.zsh')
-rw-r--r-- | 01_Internal.zsh | 1 |
1 files changed, 1 insertions, 0 deletions
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+="+" |