4 ms·
Absolutely, I've been using fish for at least ten years and have very little config, which was not at all the case before I switched. The only material thing i
by macNchz 2y ago
Absolutely, I've been using fish for at least ten years and have very little config, which was not at all the case before I switched.
The only material thing in my fish config is adding `echo -n (date "+%H:%M:%S ")` to the fish_prompt, which I've come to love having over the years. Consistently really nice to have a sense of when a command started and finished. And `cowsay (fortune -s)` in the fish_greeting ;-).
- kstrauser 2y agoI 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
- 0cf8612b2e1e 2y agoThat’s such a great idea, I’m annoyed it never occurred to me. Many times I just slip in a ‘date; <cmd>; date;’ and then get annoyed when something is taking too long, but I forgot to timestamp it.