mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2025-12-04 21:56:45 +01:00
docs copyedit: Whitespace.
This commit is contained in:
parent
e60737d320
commit
6c033e62e9
8 changed files with 15 additions and 1 deletions
|
|
@ -6,6 +6,7 @@ This is the ***pattern*** highlighter, that highlights user defined patterns.
|
|||
|
||||
How to activate it
|
||||
------------------
|
||||
|
||||
To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`:
|
||||
|
||||
ZSH_HIGHLIGHT_HIGHLIGHTERS=( [...] pattern)
|
||||
|
|
@ -13,6 +14,7 @@ To activate it, add it to `ZSH_HIGHLIGHT_HIGHLIGHTERS`:
|
|||
|
||||
How to tweak it
|
||||
---------------
|
||||
|
||||
To use this highlighter, associate patterns with styles in the `ZSH_HIGHLIGHT_PATTERNS` array, for example in `~/.zshrc`:
|
||||
|
||||
# To have commands starting with `rm -rf` in red:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue