Changing Zsh to Bash shell/terminal for Mac (Apple)
Got my new MacBook and I noticed the terminal was on Zsh while I was used to using Bash. Not sure why this was the case, could have been the default of the new MacBook, or did I install something? Well anyway, changing between the two different types, Zsh and Bash, isn’t that hard.
Changing Zsh to bash or bash to Zsh
Change the default shell to Bash by running the following command in your terminal:
chsh -s /bin/bash
Change the default shell back to Zsh by running this command in your terminal:
chsh -s /bin/zsh
Don’t forget to write your password and hit enter!
You’ll get something like:
Originally published at https://sandervolbeda.com on October 29, 2021.