diff options
author | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-07-19 15:25:57 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@qosmos.com> | 2013-07-19 15:36:11 +0200 |
commit | 059fb81625ec029caec9ade1359e42e1a9296cf2 (patch) | |
tree | 7a340340804dd1d32db94c4d3168c192b4b3dacf | |
parent | 37c4e48b94c0750703c00c9d25e5f01d057cb74a (diff) |
[Git] ahead/behind markers : adds subscript plus sign…
-rw-r--r-- | 01_Internal.zsh | 4 |
1 files 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 |