From fb929edc30192407a9298aad64f55ca1b19a464e Mon Sep 17 00:00:00 2001 From: Nuri Jung Date: Wed, 1 Jul 2020 21:38:38 +0900 Subject: [PATCH] docs: regexp highlighter: Fix a wrong associative array name in the example. Factored out from #747. --- docs/highlighters/regexp.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/highlighters/regexp.md b/docs/highlighters/regexp.md index 06b21ac..5c8a89e 100644 --- a/docs/highlighters/regexp.md +++ b/docs/highlighters/regexp.md @@ -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) ```