Browse Source

Merge pull request #91 from xaocon/master

Added sudo as a precommand
pull/100/head
Julien Nicoulaud 12 years ago
parent
commit
45194671af
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      highlighters/main/main-highlighter.zsh

+ 1
- 1
highlighters/main/main-highlighter.zsh 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=(

Loading…
Cancel
Save