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
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