mac优化zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"
国内
git clone https://gitee.com/mirrors/oh-my-zsh.git
bash .oh-my-zsh/tools/install.sh
将环境变量配置到 ~/.bash_profile
在zshrc尾部追加,启动环境变量
echo `source ~/.bash_profile` >> ~/.zshrc