赞
踩
git clone https://gitee.com/Annihilater/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
vi ~/.zshrc
.zshrc 需要修改两处地方:
plugins=(
git
zsh-syntax-highlighting
)
注意:如果有其他插件,zsh-syntax-highlighting 要放到最尾
source ~/.oh-my-zsh/custom/plugins/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
source ~/.zshrc
搞定。
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。