mirror of
https://github.com/oh-my-fish/theme-bobthefish.git
synced 2024-10-27 20:34:23 +00:00
Allow overriding the right prompt date format.
set -g theme_date_format "+%a %H:%M" … or something like that :) See #11
This commit is contained in:
parent
0b9dc24eec
commit
00f5578311
@ -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
|
||||
```
|
||||
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user