summaryrefslogtreecommitdiff
path: root/01_Internal.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2012-07-27 10:37:50 +0200
committerHugues Hiegel <hugues@hiegel.fr>2012-07-27 10:37:50 +0200
commitecceda295ce30e42b757f2a9127adb158d729f0a (patch)
tree7eb3cae559d2d89004a78ef3334640c8827d1556 /01_Internal.zsh
parent44ef72305430c7b2b97f7b8f903be7dbdbe6311b (diff)
[Git] oOps.
Diffstat (limited to '01_Internal.zsh')
-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