From 0ff09d1358d05816a3fc7f7601ba439450ec8a70 Mon Sep 17 00:00:00 2001 From: Ujjwal Thaakar Date: Wed, 24 Jul 2013 17:05:10 +0530 Subject: [PATCH] Updated characters in agnoster.zsh-theme to work on OSX Separator characters weren't working on OSX - corrected by replacing with UTF-8 codes. I still don't know what characters are intended for hg --- themes/agnoster.zsh-theme | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index c7a59ad0d..1f391b626 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='⮀' # 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\//⭠ }${vcs_info_msg_0_}" fi }