mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Fix some edge cases when nerd fonts are on and powerline fonts are explicitly disabled.
This commit is contained in:
parent
e24516b39b
commit
870ab7c9be
@ -393,7 +393,7 @@ function __bobthefish_finish_segments -S -d 'Close open prompt segments'
|
|||||||
|
|
||||||
if set -q theme_newline_prompt
|
if set -q theme_newline_prompt
|
||||||
echo -ens "$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 '> '
|
echo -ns '> '
|
||||||
else
|
else
|
||||||
echo -ns "$right_arrow_glyph "
|
echo -ns "$right_arrow_glyph "
|
||||||
|
@ -68,7 +68,7 @@ end
|
|||||||
|
|
||||||
function fish_right_prompt -d 'bobthefish is all about the right prompt'
|
function fish_right_prompt -d 'bobthefish is all about the right prompt'
|
||||||
set -l __bobthefish_left_arrow_glyph \uE0B3
|
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 '<'
|
set __bobthefish_left_arrow_glyph '<'
|
||||||
end
|
end
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user