summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--01_Internal.zsh4
1 files changed, 2 insertions, 2 deletions
diff --git a/01_Internal.zsh b/01_Internal.zsh
index fa4fd2e..48f3dcf 100644
--- a/01_Internal.zsh
+++ b/01_Internal.zsh
@@ -219,10 +219,10 @@ __get_git_branch ()
if [ "$_stashed" -gt 0 ]
then
my_git_branch+=$C_$_prompt_colors[soft_generic]$_C
- while [ $i -gt 1 ]
+ while [ $_stashed -gt 1 ]
do
my_git_branch+="·"
- i=$(( $i - 1 ))
+ _stashed=$(( $_stashed - 1 ))
done
my_git_branch+="$C_$color[blink];$_prompt_colors[soft_generic]$_C·"
fi