← all formulas
zsh-syntax-highlighting
Fish shell like syntax highlighting for zsh
- Version
- v0.8.0
- License
- BSD-3-Clause
- Tap
- homebrew/core
- Bottle
- available
- Revision
- —
bottledlicense declaredhomepageactivekeg-linked
Install
shell
$ brew install zsh-syntax-highlightingCaveats
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