安装zsh-syntax-highlighting语法高亮插件
2018-05-12 本文已影响1456人
疯狂的冰块
安装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