Fix issue #248: Highlight 'pkexec' as a precommand.
This commit is contained in:
parent
73ee7c1f6c
commit
4f3910cbba
|
@ -132,6 +132,7 @@ _zsh_highlight_main_highlighter()
|
|||
)
|
||||
ZSH_HIGHLIGHT_TOKENS_PRECOMMANDS=(
|
||||
'builtin' 'command' 'exec' 'nocorrect' 'noglob'
|
||||
'pkexec' # immune to #121 because it's usually not passed --option flags
|
||||
)
|
||||
|
||||
# Tokens that, at (naively-determined) "command position", are followed by
|
||||
|
|
Loading…
Reference in New Issue