问题
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?
回答1:
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.
回答2:
Very easy:
- from FISH to BASH :
In your Fish terminal, typebash --loginto switch to Bash - from BASH to FISH :
In your Bash terminal, typefishto switch to Fish
回答3:
Update 10.13.1:
Right-click (ctrl+click) on the username in the left pane, not the image.
来源:https://stackoverflow.com/questions/13386292/on-os-x-how-do-i-change-my-shell-from-fish-back-to-bash