mirror of
https://github.com/robbyrussell/oh-my-zsh.git
synced 2025-12-06 15:30:40 +01:00
Fixed odd chars on mac for agnoster theme
This commit is contained in:
@@ -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'
|
||||||
SEGMENT_SEPARATOR=''
|
|
||||||
|
# Fix odd char on mac
|
||||||
|
if [[ `uname` == 'Darwin' ]]; then
|
||||||
|
SEGMENT_SEPARATOR='\ue0b0'
|
||||||
|
else
|
||||||
|
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,
|
||||||
|
|||||||
Reference in New Issue
Block a user