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:
Andrew Schwartzmeyer 2013-02-28 17:22:39 -08:00
commit a1352456bc

View file

@ -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
} }