This commit is contained in:
Evan 2012-08-17 12:53:44 -07:00
commit 90c1201dbf

View File

@ -73,7 +73,7 @@ _zsh_highlight_main_highlighter()
'|' '||' ';' '&' '&&'
)
ZSH_HIGHLIGHT_TOKENS_PRECOMMANDS=(
'builtin' 'command' 'exec' 'nocorrect' 'noglob'
'builtin' 'command' 'exec' 'nocorrect' 'noglob' 'sudo'
)
# Tokens that are always immediately followed by a command.
ZSH_HIGHLIGHT_TOKENS_FOLLOWED_BY_COMMANDS=(