mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Make using Powerline glyphs the default
This commit is contained in:
parent
ac57f8959b
commit
cb4f97fe96
@ -620,22 +620,22 @@ function fish_prompt -d 'bobthefish, a fish theme optimized for awesome'
|
|||||||
set -l last_status $status
|
set -l last_status $status
|
||||||
|
|
||||||
# Powerline glyphs
|
# Powerline glyphs
|
||||||
set -l __bobthefish_branch_glyph ''
|
set -l __bobthefish_branch_glyph \uE0A0
|
||||||
set -l __bobthefish_ln_glyph ''
|
set -l __bobthefish_ln_glyph \uE0A1
|
||||||
set -l __bobthefish_padlock_glyph ''
|
set -l __bobthefish_padlock_glyph \uE0A2
|
||||||
set -l __bobthefish_right_black_arrow_glyph ''
|
set -l __bobthefish_right_black_arrow_glyph \uE0B0
|
||||||
set -l __bobthefish_right_arrow_glyph ''
|
set -l __bobthefish_right_arrow_glyph \uE0B1
|
||||||
set -l __bobthefish_left_black_arrow_glyph ''
|
set -l __bobthefish_left_black_arrow_glyph \uE0B2
|
||||||
set -l __bobthefish_left_arrow_glyph ''
|
set -l __bobthefish_left_arrow_glyph \uE0B3
|
||||||
|
|
||||||
if [ "$theme_powerline_fonts" != "no" ]
|
if [ "$theme_powerline_fonts" = "no" ]
|
||||||
set __bobthefish_branch_glyph \uE0A0
|
set __bobthefish_branch_glyph ''
|
||||||
set __bobthefish_ln_glyph \uE0A1
|
set __bobthefish_ln_glyph ''
|
||||||
set __bobthefish_padlock_glyph \uE0A2
|
set __bobthefish_padlock_glyph ''
|
||||||
set __bobthefish_right_black_arrow_glyph \uE0B0
|
set __bobthefish_right_black_arrow_glyph ''
|
||||||
set __bobthefish_right_arrow_glyph \uE0B1
|
set __bobthefish_right_arrow_glyph ''
|
||||||
set __bobthefish_left_black_arrow_glyph \uE0B2
|
set __bobthefish_left_black_arrow_glyph ''
|
||||||
set __bobthefish_left_arrow_glyph \uE0B3
|
set __bobthefish_left_arrow_glyph ''
|
||||||
end
|
end
|
||||||
|
|
||||||
# Additional glyphs
|
# Additional glyphs
|
||||||
|
@ -33,9 +33,9 @@ function __bobthefish_timestamp -S -d 'Show the current timestamp'
|
|||||||
end
|
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 '<'
|
set -l __bobthefish_left_arrow_glyph \uE0B3
|
||||||
if [ "$theme_powerline_fonts" != "no" ]
|
if [ "$theme_powerline_fonts" = "no" ]
|
||||||
set __bobthefish_left_arrow_glyph \uE0B3
|
set __bobthefish_left_arrow_glyph '<'
|
||||||
end
|
end
|
||||||
|
|
||||||
set_color $fish_color_autosuggestion[1]
|
set_color $fish_color_autosuggestion[1]
|
||||||
|
Loading…
Reference in New Issue
Block a user