How to set my default shell on Mac?

前端 未结 16 981
抹茶落季
抹茶落季 2020-11-30 16:23

I do not like to retype fish every time I start terminal. I want fish on by default. How can I set fish shell as my default shell on a Mac?

16条回答
  •  我在风中等你
    2020-11-30 17:26

    1. sudo nano /etc/shells enter image description here

    2. add /usr/local/bin/fish to your list of shells enter image description here

    3. chsh -s /usr/local/bin/fish

提交回复
热议问题