zsh-syntax-highlighting

Fish shell-like syntax highlighting for Zsh interactive shell

brewmacoslinux
Try with needOr install directly
Source

About

Fish shell like syntax highlighting for zsh

Commands

zsh-syntax-highlighting

Examples

Enable syntax highlighting in Zsh by sourcing the plugin in .zshrc$ echo 'source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh' >> ~/.zshrc
Load the plugin for immediate use in current shell session$ source $(brew --prefix)/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh
Verify syntax highlighting is active by typing commands that show colored output$ echo 'valid command' && echo 'invlid-cmd'