summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugues Hiegel <hugues.hiegel@qosmos.com>2013-08-01 15:22:29 +0200
committerHugues Hiegel <hugues.hiegel@qosmos.com>2013-08-01 15:49:29 +0200
commit90f118fd8ed2e8958c55b3726354c3849e96a1cc (patch)
treef162b46b9d1a424034c337fe0649c473c15ca09a
parent56f2fd9c0446a2a77322ed0270ac9d8778a1d489 (diff)
[Git] Another stash character.
-rw-r--r--01_Internal.zsh6
1 files changed, 4 insertions, 2 deletions
diff --git a/01_Internal.zsh b/01_Internal.zsh
index 575cc3e..222e761 100644
--- a/01_Internal.zsh
+++ b/01_Internal.zsh
@@ -226,13 +226,15 @@ __get_git_branch ()
local _stashed=$(git stash list | wc -l )
if [ "$_stashed" -gt 0 ]
then
+ # ↙ ↯ ↲ ↵
+ local _stash="↙"
my_git_branch+=" "$C_$_prompt_colors[soft_generic]$_C
while [ $_stashed -gt 1 ]
do
- my_git_branch+="⚡"
+ my_git_branch+=$_stash
_stashed=$(( $_stashed - 1 ))
done
- my_git_branch+="$C_$_prompt_colors[bold_generic];$color[white]$_C⚡"
+ my_git_branch+="$C_$_prompt_colors[bold_generic];$color[white]$_C"$_stash
fi
fi
__debug