Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

On OS X, how do I change my shell from fish back to bash?

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?

like image 449
Doug Smith Avatar asked Nov 14 '12 19:11

Doug Smith


People also ask

How do I switch back to bash from 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.

How do I change shell to bash shell?

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.

How do you switch fish to Terminal?

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.


1 Answers

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.

like image 111
Brian Campbell Avatar answered Sep 18 '22 09:09

Brian Campbell