1
0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2026-10-27 07:43:44 +08:00
Files
2026-09-10 05:54:31 -07:00

632 B

zsh-syntax-highlighting

This plugin enables Fish-like syntax highlighting for commands as they are typed at a zsh prompt.

To use it, add zsh-syntax-highlighting to the end of the plugins array in your zshrc file:

plugins=(... zsh-autosuggestions zsh-syntax-highlighting)

The plugin must be loaded after plugins that create or wrap ZLE widgets, so it should remain the last plugin in the array. Start a new terminal session after updating your zshrc file.

For available highlighters and configuration options, see the upstream documentation and the highlighter documentation.