oh-my-zsh增加语法高亮


1、下载zsh-syntax-highlighting插件
cd ~/.oh-my-zsh/custom/plugins
git clone git://github.com/zsh-users/zsh-syntax-highlighting.git
2、在.zshrc中增加配置
plugins=( [plugins...] zsh-syntax-highlighting)
3、读取配置及时生效
source ~/.zshrc

你可能感兴趣的:(oh-my-zsh增加语法高亮)