Fix some edge cases when nerd fonts are on and powerline fonts are explicitly disabled.

pull/252/head
Justin Hileman 4 years ago
parent e24516b39b
commit 870ab7c9be

@ -393,7 +393,7 @@ function __bobthefish_finish_segments -S -d 'Close open prompt segments'
if set -q theme_newline_prompt
echo -ens "$theme_newline_prompt"
else if [ "$theme_powerline_fonts" = "no" ]
else if [ "$theme_powerline_fonts" = "no" -a "$theme_nerd_fonts" != "yes" ]
echo -ns '> '
else
echo -ns "$right_arrow_glyph "

@ -68,7 +68,7 @@ end
function fish_right_prompt -d 'bobthefish is all about the right prompt'
set -l __bobthefish_left_arrow_glyph \uE0B3
if [ "$theme_powerline_fonts" = "no" ]
if [ "$theme_powerline_fonts" = "no" -a "$theme_nerd_fonts" != "yes" ]
set __bobthefish_left_arrow_glyph '<'
end

Loading…
Cancel
Save