Let's Use zsh on macOS X!
Benefits
- Adds completion features in the terminal
- Completes commands and file paths, even handling case conversion between uppercase and lowercase
Steps
Check whether zsh is available
1 | cat /etc/shells |
If it isn’t, install it with brew
1 | brew install zsh |
Switch your shell to zsh
1 | chpass -s /bin/zsh |
Default shell setting
1 | chsh -s /bin/zsh |
I use the following personal .zshrc settings.
https://github.com/kenzo0107/dotfiles
Download the above and place.zshrc
in your home directory (~/).
Since it’s managed with git, it’s also fine to create a link like this.
1 | ln .zshrc ~/.zshrc |
Load the zsh configuration file
1 | source .zshrc |
When you restart the terminal, you can confirm that the settings have been applied, as shown below.

Let's Use zsh on macOS X!
