Skip to content

Commit

Permalink
added sudo as a precommand
Browse files Browse the repository at this point in the history
  • Loading branch information
xaocon committed Aug 17, 2012
1 parent 732b7d6 commit 19981ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion highlighters/main/main-highlighter.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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=(
Expand Down

0 comments on commit 19981ef

Please sign in to comment.