brew install zsh-syntax-highlighting
Fish shell like syntax highlighting for zsh
https://github.com/zsh-users/zsh-syntax-highlighting
License: BSD-3-Clause
/api/formula/zsh-syntax-highlighting.json
(JSON API)
Formula code on GitHub
Bottle (binary package) installation support provided for macOS releases:
Intel x86_64 | big sur, catalina, mojave, high sierra |
Apple Silicon | big sur |
Current versions:
stable | ✅ | 0.7.1 |
head | ⚡️ | HEAD |
To activate the syntax highlighting, add the following at the end of your .zshrc: source $(brew --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=$(brew --prefix)/share/zsh-syntax-highlighting/highlighters |
Analytics:
Installs (30 days) | |
---|---|
zsh-syntax-highlighting |
9,720 |
zsh-syntax-highlighting --HEAD |
1 |
Installs on Request (30 days) | |
zsh-syntax-highlighting |
9,706 |
zsh-syntax-highlighting --HEAD |
1 |
Build Errors (30 days) | |
zsh-syntax-highlighting |
2 |
Installs (90 days) | |
zsh-syntax-highlighting |
30,058 |
zsh-syntax-highlighting --HEAD |
1 |
Installs on Request (90 days) | |
zsh-syntax-highlighting |
29,995 |
zsh-syntax-highlighting --HEAD |
1 |
Installs (365 days) | |
zsh-syntax-highlighting |
138,518 |
zsh-syntax-highlighting --HEAD |
8 |
Installs on Request (365 days) | |
zsh-syntax-highlighting |
137,277 |
zsh-syntax-highlighting --HEAD |
8 |