3 ms·
I added the date to fish_right_prompt in a darker grey. It's there but it's very subtle. Fish is also smart enough to delete the fish_right_prompt text when you
by kstrauser 2y ago
I added the date to fish_right_prompt in a darker grey. It's there but it's very subtle. Fish is also smart enough to delete the fish_right_prompt text when your cursor gets to it so it doesn't get in the way of long lines. Here's what I use:
function fish_right_prompt --description 'Write out the right prompt'
set_color 666666
date +'%Y-%m-%d %H:%M:%S'
set_color normal
end