Make using Powerline glyphs the default

This commit is contained in:
Caesar Schinas 2016-05-15 22:18:28 -03:00
parent ac57f8959b
commit cb4f97fe96
2 changed files with 18 additions and 18 deletions

View File

@ -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

View File

@ -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]