summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2013-08-05 18:48:11 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2013-08-05 18:48:11 +0200
commitc44a4e6ca8e10a017e34f8045b454824951983cc (patch)
tree79cd32f88941deff4715dc74fce2124380d4586f
parentfd134c8175effefe4d965fc15b1ff6beb8f7cf6d (diff)
[Git] show number of stashes
-rw-r--r--01_Internal.zsh1
1 files changed, 1 insertions, 0 deletions
diff --git a/01_Internal.zsh b/01_Internal.zsh
index 02a4bf0..6a04817 100644
--- a/01_Internal.zsh
+++ b/01_Internal.zsh
@@ -235,6 +235,7 @@ __get_git_branch ()
# _stashed=$(( $_stashed - 1 ))
#done
my_git_branch+=" $C_$_gcl_colors[white]$_C"$_stash
+ [ $_stashed -gt 1 ] && my_git_branch+="$(echo $_stashed | _subscript_number)"
fi
fi
__debug