Zsh Syntax Highlighting

Fish shell-like syntax highlighting for zsh

14.5k stars
1.1k forks

zsh-syntax-highlighing adds fish-like syntax highlighting for zsh

The plugin highlights commands while they are being typed into a zsh prompt in an interactive terminal. This helps in reviewing commands before running them, particularly in catching syntax errors.

Notes

zsh-syntax-highlighting should be the last plugin sourced in your list of plugins otherwise it may not work.

To implement your own highlighter, check out how to implement a new highlighter