brew install zsh-syntax-highlightingFish shell like syntax highlighting for zsh
https://github.com/zsh-users/zsh-syntax-highlighting
License: BSD-3-Clause
Formula JSON API: /api/formula/zsh-syntax-highlighting.json
Formula code: zsh-syntax-highlighting.rb on GitHub
Bottle (binary package) installation support provided for:
| Apple Silicon | sonoma | ✅ |
|---|---|---|
| ventura | ✅ | |
| monterey | ✅ | |
| Intel | sonoma | ✅ |
| ventura | ✅ | |
| monterey | ✅ | |
| 64-bit linux | ✅ | |
Current versions:
| stable | ✅ | 0.8.0 |
| head | ⚡️ | HEAD |
| 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:
| Installs (30 days) | |
|---|---|
zsh-syntax-highlighting |
12,018 |
| Installs on Request (30 days) | |
zsh-syntax-highlighting |
12,013 |
| Build Errors (30 days) | |
zsh-syntax-highlighting |
0 |
| Installs (90 days) | |
zsh-syntax-highlighting |
19,662 |
| Installs on Request (90 days) | |
zsh-syntax-highlighting |
19,654 |
| Installs (365 days) | |
zsh-syntax-highlighting |
43,085 |
| Installs on Request (365 days) | |
zsh-syntax-highlighting |
43,072 |