mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
Merge f19ff89432 into e0165eaa73
This commit is contained in:
commit
8e24b027cd
1 changed files with 3 additions and 1 deletions
|
|
@ -19,6 +19,8 @@ ZSH_HIGHLIGHT_PATTERNS+=('rm -rf *' 'fg=white,bold,bg=red')
|
|||
|
||||
The syntax for values is the same as the syntax of "types of highlighting" of
|
||||
the zsh builtin `$zle_highlight` array, which is documented in [the `zshzle(1)`
|
||||
manual page][zshzle-Character-Highlighting].
|
||||
manual page][zshzle-Character-Highlighting]. Note: if you would like to define this
|
||||
variable before you source zsh-syntax-highlighting, you will need to declare it first with:
|
||||
`typeset -gA ZSH_HIGHLIGHT_PATTERNS`.
|
||||
|
||||
[zshzle-Character-Highlighting]: https://zsh.sourceforge.io/Doc/Release/Zsh-Line-Editor.html#Character-Highlighting
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue