From 059fb81625ec029caec9ade1359e42e1a9296cf2 Mon Sep 17 00:00:00 2001 From: Hugues Hiegel Date: Fri, 19 Jul 2013 15:25:57 +0200 Subject: [Git] ahead/behind markers : adds subscript plus sign… MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- 01_Internal.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/01_Internal.zsh b/01_Internal.zsh index 84cbf62..557a525 100644 --- a/01_Internal.zsh +++ b/01_Internal.zsh @@ -253,13 +253,13 @@ __get_git_branch () if [ $_ahead -gt 0 ] then my_git_branch+=$C_$_gcl_colors[cached]$_C"↑" - [ $_ahead -gt 1 ] && my_git_branch+="$(echo $_ahead | \ + [ $_ahead -gt 1 ] && my_git_branch+="₊$(echo $_ahead | \ sed 's/0/₀/g;s/1/₁/g;s/2/₂/g;s/3/₃/g;s/4/₄/g;s/5/₅/g;s/6/₆/g;s/7/₇/g;s/8/₈/g;s/9/₉/g')" fi if [ $_behind -gt 0 ] then my_git_branch+=$C_$_prompt_colors[bold_generic]$_C"↓" - [ $_behind -gt 1 ] && my_git_branch+="$(echo $_behind | \ + [ $_behind -gt 1 ] && my_git_branch+="₊$(echo $_behind | \ sed 's/0/₀/g;s/1/₁/g;s/2/₂/g;s/3/₃/g;s/4/₄/g;s/5/₅/g;s/6/₆/g;s/7/₇/g;s/8/₈/g;s/9/₉/g')" fi fi -- cgit v1.2.3