安装iTerm2
brew install --cask iterm2
安装ZSH
brew install zsh zsh-completions
zsh --version
sudo sh -c "echo $(which zsh) >> /etc/shells"
chsh -s $(which zsh)
echo $SHELL
安装Oh My ZSH
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
open ~/.zshrc
ZSH_THEME="agnoster"
安装字体
brew install font-meslo-for-powerline
brew install font-source-code-pro-for-powerline