Skip to content

Commit

Permalink
Merge pull request ohmyzsh#4001 from ivanfoo/fixOddCharsOnMac
Browse files Browse the repository at this point in the history
Fixed odd chars on mac for agnoster theme
  • Loading branch information
robbyrussell committed Jun 15, 2015
2 parents a778463 + c6460ef commit 3d2bf22
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion themes/agnoster.zsh-theme
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 3d2bf22

Please sign in to comment.