标签:安装 环境 bash环境 file 切换 通过 终端 follow 更新
mac下自带zsh,但不是最新。查看zsh版本:zsh --version
可以通过brew安装最新版,brew install zsh
git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
source ~/.bash_profile
chsh -s /bin/zsh
ZSH_THEME=gnzh
【其他】
brew install zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
chsh -s /bin/zsh 需要重启/新建窗口
参考自原文:https://www.jianshu.com/p/677a9bb1ac29
标签:安装 环境 bash环境 file 切换 通过 终端 follow 更新
原文地址:https://www.cnblogs.com/qianmaoliugou/p/12305945.html