zsh-syntax-highlighting

Install command:
brew install zsh-syntax-highlighting

Fish shell like syntax highlighting for zsh

https://github.com/zsh-users/zsh-syntax-highlighting

License: BSD-3-Clause

Development: Pull requests

Formula JSON API: /api/formula/zsh-syntax-highlighting.json

Formula code: zsh-syntax-highlighting.rb on GitHub

Bottle (binary package) installation support provided.

Current versions:

stable 0.8.0
head ⚡️ HEAD

Uses from macOS: zsh (build, test)

To activate the syntax highlighting, add the following at the end of your .zshrc:
    source $HOMEBREW_PREFIX/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

If you receive "highlighters directory not found" error message,
you may need to add the following to your .zshenv:
    export ZSH_HIGHLIGHT_HIGHLIGHTERS_DIR=$HOMEBREW_PREFIX/share/zsh-syntax-highlighting/highlighters

Analytics:

30 days90 days365 days
Installs2,98112,23663,167
Installs (--HEAD)419129
Installs on Request2,98112,23463,155
Installs on Request (--HEAD)419129
Build Errors0