What are some programs/tools/packages that you can't live without?
What are some programs/tools/packages that you can't live without?
fish <command> also works by analogy.
As I suppose the other user already went over your main query, I’ll instead focus on what might have felt rather innocuous.
my default shell is fish
I subscribe to the school of thought that one should not change their default shell^[I suppose it could be fine~ish as long as it’s POSIX compliant AND compatible with bash. Which, unfortunately, fish happens to be neither of the two.] through invoking chsh (or whatever other method that applies changes to /etc/passwd). This article does an excellent job at laying down the reasoning (and the recommended alternative). FWIW, the alternative’s day-to-day experience provides all of the pros without any of the cons.

chsh is a small tool that lets you change the default shell for your current user. In order to let any user change their own shell, which is set in /etc/passwd, it needs privileges and is generally setuid root. I am of the opinion that setuid/setgid binaries are a UNIX legacy that should be deprecated. I will explain the security reasons behind that statement in a future post. In this “UNIX legacy” series of posts, I am looking at classic setuid binaries and try to find better, safer alternatives for common use cases. In this post, we will look at alternatives to changing your login shell.
yeah Fish along with DOOM Emacs are the first two things I install on my machine.
I used to use zsh with oh my zsh and various plugins and it would totally slow down my nixos system so then I decided to give fish a try and surprise surprise it had all the stuff I had to add on to zsh already baked in.
easily the best shell out there.
fish
“Watch out, Netscape Navigator 4.0!”
I’m sold.
But bash left a lot to be desired in that regard; its history simply didn’t record everything.
Bash doesn’t merge history from multiple bash instances into your ~/.bash_history by default. If you want that to persist:
unix.stackexchange.com/…/preserve-bash-history-in…
Add the following to your ~/.bashrc:
# When the shell exits, append to the history file instead of overwriting it shopt -s histappendThank you for that! IIRC, it was one of the settings I took from bash-sensible. I can say that it definitely improved after just a couple of changes to ~/.bashrc. Add in ble.sh and it suddenly seemed somewhat modern instead of archaic.
Unfortunately, I don’t remember exactly what broke the camel’s back. However, FWIW, contrary to how I recall my experiences with bash and zsh, I don’t feel any frustration while using using fish. So it’s definitely doing something for me 😉.