mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2025-06-13 13:03:54 +00:00
do not set empty time zone by default
This commit is contained in:
parent
57d172882f
commit
6468c74abe
@ -63,7 +63,8 @@ function __bobthefish_timestamp -S -d 'Show the current timestamp'
|
|||||||
or set -l theme_date_format "+%c"
|
or set -l theme_date_format "+%c"
|
||||||
|
|
||||||
echo -n ' '
|
echo -n ' '
|
||||||
env TZ="$theme_date_timezone" date $theme_date_format
|
set -q theme_date_timezone; and set ENV_TZ "TZ=$theme_date_timezone"
|
||||||
|
env $ENV_TZ date $theme_date_format
|
||||||
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'
|
||||||
|
Loading…
Reference in New Issue
Block a user