From 4aa0794293ca76dc7cbc7430e0fdfac2b1199d5a Mon Sep 17 00:00:00 2001 From: "@thingsdoer" Date: Wed, 9 Oct 2013 10:18:53 +0100 Subject: [PATCH] Corrected glyphs for agnoster theme. --- themes/agnoster/fish_prompt.fish | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/themes/agnoster/fish_prompt.fish b/themes/agnoster/fish_prompt.fish index e4ad3dc..b5da0c8 100644 --- a/themes/agnoster/fish_prompt.fish +++ b/themes/agnoster/fish_prompt.fish @@ -14,8 +14,8 @@ set -g current_bg NONE -set segment_separator \u2b80 -set right_segment_separator \u2b80 +set segment_separator \uE0B0 +set right_segment_separator \uE0B0 # =========================== # Helper methods # =========================== @@ -114,7 +114,8 @@ function prompt_git -d "Display the actual git state" set -l branch (command git show-ref --head -s --abbrev |head -n1 2> /dev/null) set ref "➦ $branch " end - set -l branch (echo $ref | sed 's-refs/heads/-⭠ -') + set branch_symbol \uE0A0 + set -l branch (echo $ref | sed "s-refs/heads/-$branch_symbol -") if [ "$dirty" != "" ] prompt_segment yellow black "$branch $dirty" else