oh-my-fish_theme-bobthefish/fish_right_prompt.fish
Justin Hileman 00f5578311 Allow overriding the right prompt date format.
set -g theme_date_format "+%a %H:%M"

… or something like that :)

See #11
2015-10-13 14:18:48 -07:00

7 lines
226 B
Fish

function fish_right_prompt -d 'bobthefish is all about the right prompt'
set_color $fish_color_autosuggestion[1]
set -q theme_date_format; or set -l theme_date_format "+%c"
date $theme_date_format
set_color normal
end