I love the fish shell and use it exclusively in MacOS but I use bash everywhere else because its the only thing installed. Having felt the pain of maintaining configuration files for the two shells, I've decided to stop using fish, and fall back to bash instead. To make it as painless as possible, which configuration options / plugins / etc should I be using with bash to make it as close to fish as possible?
Things I miss most:
- auto completion support: fish remembers all my commands, does completions on partial (sometimes huge) commands, seems to understand all the cmd-line apps I use and offers completions on their commands, etc. For each command fish shows in a dimmed color the command it would auto-complete to if I were to hit tab.
- git support: fish shows me whether I am in a github repository, the name of the branch, and whether it has been modified or is clear using nice colors next to my username@hostname, I would love to have this on bash as well
./configure --prefix=$HOME/fish; make install
. Then symlink ~/bin/fish to ~/fish/bin/fish or add ~/fish/bin to your PATH. – Kurtis Rader Jul 31 '17 at 20:57