Issue 34: Do not highlight non commands as commands.

Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
This commit is contained in:
Julien Nicoulaud 2011-01-08 18:03:52 +01:00
parent 50b612cec4
commit 0392fdc46a

View file

@ -43,27 +43,9 @@ ZSH_HIGHLIGHT_MATCHING_BRACKETS_STYLES=(
'fg=cyan,bold'
)
# Tokens that are always followed by a command.
# Tokens that are always immediately followed by a command.
ZSH_HIGHLIGHT_TOKENS_FOLLOWED_BY_COMMANDS=(
'|'
'||'
';'
'&'
'&&'
'sudo'
'start'
'time'
'strace'
'noglob'
'nocorrect'
'command'
'builtin'
'whence'
'which'
'where'
'whereis'
'xargs'
'zargs'
'|' '||' ';' '&' '&&' 'noglob' 'nocorrect' 'builtin'
)
# ZLE highlight types.