slackbuilds/system/zsh-syntax-highlighting
B. Watson eb2807728a system/zsh-syntax-highlighting: Wrap README at 72 columns.
Signed-off-by: B. Watson <yalhcru@gmail.com>
2022-03-17 12:38:15 -04:00
..
README system/zsh-syntax-highlighting: Wrap README at 72 columns. 2022-03-17 12:38:15 -04:00
slack-desc
zsh-syntax-highlighting.SlackBuild All: Support $PRINT_PACKAGE_NAME env var 2021-07-17 21:55:09 +02:00
zsh-syntax-highlighting.info

README

zsh-syntax-highlighting (Fish shell like syntax highlighting for Zsh)

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.

To enable syntax highlighting in the current interactive shell:

source /usr/share/zsh/plugins/zsh-syntax-highlighting/*.zsh

You can also add this command to your ~/.zshrc to always enable it.
NOTE: the 'source' command must be **at the end** of '~/.zshrc'.