iTerm2#

zsh-syntax-highlighting#

1.Simply clone this repository and source the script

$ 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

2.Enable syntax highlighting in the current interactive shell

$ source ./zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

Preferences#