Discover, install, and configure shell plugins with Fig Plugin Store →

Zsh Syntax Highlighting

Fish shell-like syntax highlighting for zsh

17.3k stars
1.3k 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.


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