mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-23 02:35:38 +01:00
Fixing glyphs for new Powerline characters (Lokaltog/powerline)
Latest patched fonts do not support previous agnoster theme. This patch repalces them with the new unicode glyphs.
This commit is contained in:
parent
09f16a6255
commit
a1352456bc
1 changed files with 3 additions and 2 deletions
|
|
@ -26,7 +26,8 @@
|
|||
# A few utility functions to make it easy and re-usable to draw segmented prompts
|
||||
|
||||
CURRENT_BG='NONE'
|
||||
SEGMENT_SEPARATOR='⮀'
|
||||
SEGMENT_SEPARATOR=''
|
||||
BRANCH_SYMBOL=''
|
||||
|
||||
# Begin a segment
|
||||
# Takes two arguments, background and foreground. Both can be omitted,
|
||||
|
|
@ -79,7 +80,7 @@ prompt_git() {
|
|||
else
|
||||
prompt_segment green black
|
||||
fi
|
||||
echo -n "${ref/refs\/heads\//⭠ }$dirty"
|
||||
echo -n "${ref/refs\/heads\//$BRANCH_SYMBOL }$dirty"
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue