do not set empty time zone by default

This commit is contained in:
champignoom 2020-11-12 15:10:37 +01:00
parent 57d172882f
commit 6468c74abe

View File

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