diff options
author | Robby Russell <robby@planetargon.com> | 2013-09-19 07:00:16 -0700 |
---|---|---|
committer | Robby Russell <robby@planetargon.com> | 2013-09-19 07:00:16 -0700 |
commit | b57118bd370666feef670e233e077e40408c92b1 (patch) | |
tree | 60c2f4ebf13d4fa5183fdad59e14e2d56c38f836 | |
parent | 0582bd193cc49d05c653a0371359b9bdfc32344a (diff) | |
parent | baffc3b0bd2594b789316cb135ba84fb54f50dd9 (diff) | |
download | zsh-b57118bd370666feef670e233e077e40408c92b1.tar.gz zsh-b57118bd370666feef670e233e077e40408c92b1.tar.bz2 zsh-b57118bd370666feef670e233e077e40408c92b1.zip |
Merge pull request #2065 from prudprud/master
Replace no unicode glyph on hexa string
-rw-r--r-- | themes/agnoster.zsh-theme | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index c7a59ad0d..8b5f4ef7a 100644 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -26,7 +26,7 @@ # A few utility functions to make it easy and re-usable to draw segmented prompts CURRENT_BG='NONE' -SEGMENT_SEPARATOR='' +SEGMENT_SEPARATOR='\u2b80' # Begin a segment # Takes two arguments, background and foreground. Both can be omitted, @@ -90,7 +90,7 @@ prompt_git() { zstyle ':vcs_info:*' formats ' %u%c' zstyle ':vcs_info:*' actionformats '%u%c' vcs_info - echo -n "${ref/refs\/heads\// }${vcs_info_msg_0_}" + echo -n "${ref/refs\/heads\//\u2b60 }${vcs_info_msg_0_}" fi } @@ -110,7 +110,7 @@ prompt_hg() { # if working copy is clean prompt_segment green black fi - echo -n $(hg prompt " {rev}@{branch}") $st + echo -n $(hg prompt "\u2b60 {rev}@{branch}") $st else st="" rev=$(hg id -n 2>/dev/null | sed 's/[^-0-9]//g') @@ -124,7 +124,7 @@ prompt_hg() { else prompt_segment green black fi - echo -n " $rev@$branch" $st + echo -n "\u2b60 $rev@$branch" $st fi fi } |