Skip to content

Commit

Permalink
docs: regexp highlighter: Fix a wrong associative array name in the e…
Browse files Browse the repository at this point in the history
…xample.

Factored out from #747.
  • Loading branch information
jnooree authored and danielshahaf committed Jul 1, 2020
1 parent 91d2eea commit fb929ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/highlighters/regexp.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ To use this highlighter, associate regular expressions with styles in the
`ZSH_HIGHLIGHT_REGEXP` associative array, for example in `~/.zshrc`:

```zsh
typeset -A ZSH_HIGHLIGHT_PATTERNS
typeset -A ZSH_HIGHLIGHT_REGEXP
ZSH_HIGHLIGHT_REGEXP+=('\bsudo\b' fg=123,bold)
```

Expand Down

0 comments on commit fb929ed

Please sign in to comment.