From 90f118fd8ed2e8958c55b3726354c3849e96a1cc Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Thu, 1 Aug 2013 15:22:29 +0200 Subject: [Git] Another stash character. --- 01_Internal.zsh | 6 ++++-- 1 file 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 -- cgit v1.2.3