mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Merge pull request #267 from WiredSharp/feature/timezone_defaulting
use system timezone as default
This commit is contained in:
commit
f3ec01dd10
@ -63,7 +63,9 @@ 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 env TZ="$theme_date_timezone" date $theme_date_format
|
||||||
|
or 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