Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
3d2bf227
Commit
3d2bf227
authored
Jun 14, 2015
by
Robby Russell
Browse files
Merge pull request #4001 from ivanfoo/fixOddCharsOnMac
Fixed odd chars on mac for agnoster theme
parents
a7784636
c6460ef3
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/agnoster.zsh-theme
View file @
3d2bf227
...
...
@@ -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,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment