mirror of
https://github.com/zsh-users/zsh-syntax-highlighting.git
synced 2026-10-07 03:56:22 +00:00
Fix issue #248: Highlight 'pkexec' as a precommand.
This commit is contained in:
1 parent
73ee7c1f6c
commit
4f3910cbba
1 file changed
+1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user