diff --git a/highlighters/regexp/test-data/word-boundary.zsh b/highlighters/regexp/test-data/word-boundary.zsh index e852b8a..1f4f666 100644 --- a/highlighters/regexp/test-data/word-boundary.zsh +++ b/highlighters/regexp/test-data/word-boundary.zsh @@ -27,7 +27,7 @@ # vim: ft=zsh sw=2 ts=2 et # ------------------------------------------------------------------------------------------------- -if zmodload -s zsh/pcre; then +if zmodload zsh/pcre 2>/dev/null; then setopt RE_MATCH_PCRE ZSH_HIGHLIGHT_REGEXP+=('\bsudo\b' 'fg=white,bold,bg=red')