summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2013-07-19 15:55:13 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2013-07-19 15:55:13 +0200
commit8942935030bbd0762560817a20ffa31bc690cd97 (patch)
tree02329538f66d31427f7ec49ab721f5a3298528e6
parent572755a6972d544df0da116df506e2f9714cdfd1 (diff)
[Internals] Git: another way to show stashes
-rw-r--r--01_Internal.zsh6
1 files changed, 3 insertions, 3 deletions
diff --git a/01_Internal.zsh b/01_Internal.zsh
index 0eb2bfc..caf2a08 100644
--- a/01_Internal.zsh
+++ b/01_Internal.zsh
@@ -226,13 +226,13 @@ __get_git_branch ()
local _stashed=$(git stash list | wc -l )
if [ "$_stashed" -gt 0 ]
then
- my_git_branch+=$C_$_prompt_colors[soft_generic]$_C
+ my_git_branch+=" "$C_$_prompt_colors[soft_generic]$_C
while [ $_stashed -gt 1 ]
do
- my_git_branch+="·"
+ my_git_branch+="⚡"
_stashed=$(( $_stashed - 1 ))
done
- my_git_branch+="$C_$color[blink];$_prompt_colors[soft_generic]$_C·"
+ my_git_branch+="$C_$_prompt_colors[bold_generic];$color[white]$_C⚡"
fi
fi
__debug