1.安装iTerm2
2.安装oh-my-zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
设置主题
3.安装powerline字体:
https://github.com/powerline/fonts
# clone
git clone https://github.com/powerline/fonts.git
# install
cd fonts
./install.sh