This package provides syntax highlighing for the shell zsh. It enables highlighing of commands whilst they are typed at a zsh prompt into an interactive terminal. This helps in reviewing commands before running them, particularly in catching syntax errors. Please note that you must load zsh-syntax-highlighting after all other custom widgets, at the end of your .zshrc file.
This package provides syntax highlighing for the shell zsh. It enables highlighing of commands whilst they are typed at a zsh prompt into an interactive terminal. This helps in reviewing commands before running them, particularly in catching syntax errors. Please note that you must load zsh-syntax-highlighting after all other custom widgets, at the end of your .zshrc file.
To install zsh-syntax-highlighting, run the following command in macOS terminal (Applications->Utilities->Terminal)
sudo port install zsh-syntax-highlighting
To see what files were installed by zsh-syntax-highlighting, run:
port contents zsh-syntax-highlighting
To later upgrade zsh-syntax-highlighting, run:
sudo port selfupdate && sudo port upgrade zsh-syntax-highlighting
Reporting an issue on MacPorts Trac
The MacPorts Project uses a system called Trac to file tickets to report bugs and enhancement requests.
Though anyone may search Trac for tickets, you must have a GitHub account in order to login to Trac to create tickets.