mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-29 09:10:07 +00:00
Merge pull request #4001 from ivanfoo/fixOddCharsOnMac
Fixed odd chars on mac for agnoster theme
This commit is contained in:
commit
3d2bf227ea
1 changed files with 7 additions and 1 deletions
|
@ -26,7 +26,13 @@
|
||||||
# A few utility functions to make it easy and re-usable to draw segmented prompts
|
# A few utility functions to make it easy and re-usable to draw segmented prompts
|
||||||
|
|
||||||
CURRENT_BG='NONE'
|
CURRENT_BG='NONE'
|
||||||
|
|
||||||
|
# Fix odd char on mac
|
||||||
|
if [[ `uname` == 'Darwin' ]]; then
|
||||||
|
SEGMENT_SEPARATOR='\ue0b0'
|
||||||
|
else
|
||||||
SEGMENT_SEPARATOR=''
|
SEGMENT_SEPARATOR=''
|
||||||
|
fi
|
||||||
|
|
||||||
# Begin a segment
|
# Begin a segment
|
||||||
# Takes two arguments, background and foreground. Both can be omitted,
|
# Takes two arguments, background and foreground. Both can be omitted,
|
||||||
|
|
Loading…
Reference in a new issue