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

后端 未结 3 2016
南旧
南旧 2021-01-31 03:51

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 reopenin

相关标签:
3条回答
  • 2021-01-31 04:02

    Update 10.13.1:

    Right-click (ctrl+click) on the username in the left pane, not the image.

    0 讨论(0)
  • 2021-01-31 04:15

    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.

    0 讨论(0)
  • 2021-01-31 04:17

    Very easy:

    • from FISH to BASH :
      In your Fish terminal, type bash --login to switch to Bash
    • from BASH to FISH :
      In your Bash terminal, type fish to switch to Fish
    0 讨论(0)
提交回复
热议问题