I'm kinda preferring bash lately to fish, and I'm wondering if I can change it back. I tried this command: chsh -s /bin/bash
but closing the terminal and reopening it does not restore it to bash, but it's still fish.
In fact, how do I remove fish?
fish may not be suitable as a login shell on these systems. Again, substitute the path to fish for /usr/local/bin/fish - see command -s fish inside fish. To change it back to another shell, just substitute /usr/local/bin/fish with /bin/bash , /bin/tcsh or /bin/zsh as appropriate in the steps above.
Bash shell read commands such as ls, date and others typed into a terminal and then run them. That is the primary function of bash shell. To change your shell to bash use the chsh command.
Switching to fish? If you wish to use fish (or any other shell) as your default shell, you need to enter your new shell's executable /usr/local/bin/fish in two places: add /usr/local/bin/fish to /etc/shells. change your default shell with chsh -s to /usr/local/bin/fish.
Go to System Preferences, Users & Groups, click the lock to make changes, right click (or Control click) on your username, choose "Advanced Options" and you should have a field to change your shell. Change it there, reboot, and your new shell should take effect.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With