-
官网: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