GitHub地址
https://github.com/robbyrussell/oh-my-zsh
step1:克隆项目到本地(Mac默认已经安装了git)
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
step2:创建一个zsh的配置文件
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
step3:设置zsh为默认的shell
chsh -s /bin/zsh
step4:重启生效
打开一个新的终端窗口,大功告成。