diff --git a/README.md b/README.md index c1d6477..9116bbd 100644 --- a/README.md +++ b/README.md @@ -69,6 +69,7 @@ set -g theme_display_hg yes set -g theme_display_virtualenv no set -g theme_display_ruby no set -g theme_display_user yes +set -g theme_date_format "+%a %H:%M" set -g default_user your_normal_user ``` diff --git a/fish_prompt.fish b/fish_prompt.fish index c804adf..ec37ca6 100644 --- a/fish_prompt.fish +++ b/fish_prompt.fish @@ -19,6 +19,7 @@ # set -g theme_display_virtualenv no # set -g theme_display_ruby no # set -g theme_display_user yes +# set -g theme_date_format "+%a %H:%M" # set -g default_user your_normal_user set -g __bobthefish_current_bg NONE diff --git a/fish_right_prompt.fish b/fish_right_prompt.fish index b4d14c9..80a3590 100644 --- a/fish_right_prompt.fish +++ b/fish_right_prompt.fish @@ -1,5 +1,6 @@ function fish_right_prompt -d 'bobthefish is all about the right prompt' set_color $fish_color_autosuggestion[1] - date + set -q theme_date_format; or set -l theme_date_format "+%c" + date $theme_date_format set_color normal end