DEV Community

Discussion on: A Guide for Upgrading macOS to Catalina and Migrating the Default Shell from Bash to Zsh

Collapse
 
pedroapfilho profile image
Pedro Filho

What should I do if I already had zsh+ohmyzsh installed?

Collapse
 
saltyshiomix profile image
Shiono Yoshihide

You can see the current default shell by running the command below:

$ echo ${SHELL}

If the result is /bin/zsh, this is the default macOS shell.

So you need to change it:

$ chsh -s /path/to/your/custom/zsh

And check your default shell has changed by running echo ${SHELL} :)