Issue 34: Do not highlight non commands as commands.
Signed-off-by: Julien Nicoulaud <julien.nicoulaud@gmail.com>
This commit is contained in:
parent
50b612cec4
commit
0392fdc46a
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user