安装zsh-syntax-highlighting语法高亮插件

安装zsh-syntax-highlighting语法高亮插件

官网:https://github.com/zsh-users/zsh-syntax-highlighting

安装:

git clone https://github.com/zsh-users/zsh-syntax-highlighting.git 
echo "source ${(q-)PWD}/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh" >> ${ZDOTDIR:-$HOME}/.zshrc

生效:

source ~/.zshrc

参考网址:http://www.cnblogs.com/EasonJim/p/7863099.html

你可能感兴趣的:(安装zsh-syntax-highlighting语法高亮插件)