diff options
author | ivanfoo <sanfru.ivan@gmail.com> | 2015-06-15 00:25:22 +0200 |
---|---|---|
committer | ivanfoo <sanfru.ivan@gmail.com> | 2015-06-15 00:25:22 +0200 |
commit | c6460ef3e73f8f26f300dd8a24a83257b3b8579b (patch) | |
tree | 38eb95d1ce58c54ecfcb4bd96c34b6436e48a1a8 /themes/agnoster.zsh-theme | |
parent | 9eaf51107f15011f73b39fb727895f65797edcbc (diff) | |
download | zsh-c6460ef3e73f8f26f300dd8a24a83257b3b8579b.tar.gz zsh-c6460ef3e73f8f26f300dd8a24a83257b3b8579b.tar.bz2 zsh-c6460ef3e73f8f26f300dd8a24a83257b3b8579b.zip |
Fixed odd chars on mac for agnoster theme
Diffstat (limited to 'themes/agnoster.zsh-theme')
-rw-r--r-- | themes/agnoster.zsh-theme | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/themes/agnoster.zsh-theme b/themes/agnoster.zsh-theme index 8c7be6e01..9f67543f5 100644 --- a/themes/agnoster.zsh-theme +++ b/themes/agnoster.zsh-theme @@ -26,7 +26,13 @@ # A few utility functions to make it easy and re-usable to draw segmented prompts CURRENT_BG='NONE' -SEGMENT_SEPARATOR='' + +# Fix odd char on mac +if [[ `uname` == 'Darwin' ]]; then + SEGMENT_SEPARATOR='\ue0b0' +else + SEGMENT_SEPARATOR='' +fi # Begin a segment # Takes two arguments, background and foreground. Both can be omitted, |