mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2025-06-13 13:03:54 +00:00
Hide $__bobthefish_left_arrow_glyph
when $theme_display_date = "no"
This commit is contained in:
parent
77977f882f
commit
32cfd83157
@ -21,7 +21,6 @@ function __bobthefish_cmd_duration -S -d 'Show command duration'
|
|||||||
|
|
||||||
set_color $fish_color_normal
|
set_color $fish_color_normal
|
||||||
set_color $fish_color_autosuggestion
|
set_color $fish_color_autosuggestion
|
||||||
echo -n $__bobthefish_left_arrow_glyph
|
|
||||||
end
|
end
|
||||||
|
|
||||||
function __bobthefish_timestamp -S -d 'Show the current timestamp'
|
function __bobthefish_timestamp -S -d 'Show the current timestamp'
|
||||||
@ -29,6 +28,7 @@ function __bobthefish_timestamp -S -d 'Show the current timestamp'
|
|||||||
set -q theme_date_format
|
set -q theme_date_format
|
||||||
or set -l theme_date_format "+%c"
|
or set -l theme_date_format "+%c"
|
||||||
|
|
||||||
|
echo -n $__bobthefish_left_arrow_glyph
|
||||||
echo -n ' '
|
echo -n ' '
|
||||||
date $theme_date_format
|
date $theme_date_format
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user