From a1352456bc13bd2d892c36aa7ed17e63c1e0d775 Mon Sep 17 00:00:00 2001 From: Andrew Schwartzmeyer Date: Thu, 28 Feb 2013 17:22:39 -0800 Subject: [PATCH] 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. --- themes/agnoster_beta.zsh-theme | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/themes/agnoster_beta.zsh-theme b/themes/agnoster_beta.zsh-theme index c3107c06c..4f832ec97 100644 --- a/themes/agnoster_beta.zsh-theme +++ b/themes/agnoster_beta.zsh-theme @@ -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 }