diff --git a/fish_prompt.fish b/fish_prompt.fish index 52c4579..9a1d91f 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -620,22 +620,22 @@ function fish_prompt -d 'bobthefish, a fish theme optimized for awesome' set -l last_status $status # Powerline glyphs - set -l __bobthefish_branch_glyph '' - set -l __bobthefish_ln_glyph '' - set -l __bobthefish_padlock_glyph '' - set -l __bobthefish_right_black_arrow_glyph '' - set -l __bobthefish_right_arrow_glyph '' - set -l __bobthefish_left_black_arrow_glyph '' - set -l __bobthefish_left_arrow_glyph '' + set -l __bobthefish_branch_glyph \uE0A0 + set -l __bobthefish_ln_glyph \uE0A1 + set -l __bobthefish_padlock_glyph \uE0A2 + set -l __bobthefish_right_black_arrow_glyph \uE0B0 + set -l __bobthefish_right_arrow_glyph \uE0B1 + set -l __bobthefish_left_black_arrow_glyph \uE0B2 + set -l __bobthefish_left_arrow_glyph \uE0B3 - if [ "$theme_powerline_fonts" != "no" ] - set __bobthefish_branch_glyph \uE0A0 - set __bobthefish_ln_glyph \uE0A1 - set __bobthefish_padlock_glyph \uE0A2 - set __bobthefish_right_black_arrow_glyph \uE0B0 - set __bobthefish_right_arrow_glyph \uE0B1 - set __bobthefish_left_black_arrow_glyph \uE0B2 - set __bobthefish_left_arrow_glyph \uE0B3 + if [ "$theme_powerline_fonts" = "no" ] + set __bobthefish_branch_glyph '' + set __bobthefish_ln_glyph '' + set __bobthefish_padlock_glyph '' + set __bobthefish_right_black_arrow_glyph '' + set __bobthefish_right_arrow_glyph '' + set __bobthefish_left_black_arrow_glyph '' + set __bobthefish_left_arrow_glyph '' end # Additional glyphs diff --git a/fish_right_prompt.fish b/fish_right_prompt.fish index 6ac3ed2..dfc8ea9 100644 --- a/fish_right_prompt.fish +++ b/fish_right_prompt.fish @@ -33,9 +33,9 @@ function __bobthefish_timestamp -S -d 'Show the current timestamp' end function fish_right_prompt -d 'bobthefish is all about the right prompt' - set -l __bobthefish_left_arrow_glyph '<' - if [ "$theme_powerline_fonts" != "no" ] - set __bobthefish_left_arrow_glyph \uE0B3 + set -l __bobthefish_left_arrow_glyph \uE0B3 + if [ "$theme_powerline_fonts" = "no" ] + set __bobthefish_left_arrow_glyph '<' end set_color $fish_color_autosuggestion[1]