From 19981ef9eae354ee004cd6b9a54bf07c0a94965c Mon Sep 17 00:00:00 2001 From: evan Date: Fri, 17 Aug 2012 15:52:09 -0400 Subject: [PATCH] added sudo as a precommand --- highlighters/main/main-highlighter.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/highlighters/main/main-highlighter.zsh b/highlighters/main/main-highlighter.zsh index 2032b81..be1d0a9 100755 --- a/highlighters/main/main-highlighter.zsh +++ b/highlighters/main/main-highlighter.zsh @@ -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=(