summaryrefslogtreecommitdiffstats
path: root/system/zsh-syntax-highlighting/README
blob: cd02b7964967d14e49842d10d6eea0f87ad126b8 (about) (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
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'.