1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
# check current version zsh --version zsh 5.0.8 (x86_64-apple-darwin15.0) # check the zsh info brew info zsh zsh: stable 5.2 (bottled) # install zsh brew install --without-etcdir zsh # add shell path sudo vim /etc/shells # add the following line into the very end of the file(/etc/shells) /usr/local/bin/zsh # change default shell chsh -s /usr/local/bin/zsh |