mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +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
|
# A few utility functions to make it easy and re-usable to draw segmented prompts
|
||||||
|
|
||||||
CURRENT_BG='NONE'
|
CURRENT_BG='NONE'
|
||||||
SEGMENT_SEPARATOR='⮀'
|
SEGMENT_SEPARATOR=''
|
||||||
|
BRANCH_SYMBOL=''
|
||||||
|
|
||||||
# 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,
|
||||||
|
|
@ -79,7 +80,7 @@ prompt_git() {
|
||||||
else
|
else
|
||||||
prompt_segment green black
|
prompt_segment green black
|
||||||
fi
|
fi
|
||||||
echo -n "${ref/refs\/heads\//⭠ }$dirty"
|
echo -n "${ref/refs\/heads\//$BRANCH_SYMBOL }$dirty"
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue