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
本文标题:oh-my-zsh增加语法高亮
本文链接:https://www.haomeiwen.com/subject/krddrxtx.html
网友评论