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'
|
'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=(
|
ZSH_HIGHLIGHT_TOKENS_FOLLOWED_BY_COMMANDS=(
|
||||||
'|'
|
'|' '||' ';' '&' '&&' 'noglob' 'nocorrect' 'builtin'
|
||||||
'||'
|
|
||||||
';'
|
|
||||||
'&'
|
|
||||||
'&&'
|
|
||||||
'sudo'
|
|
||||||
'start'
|
|
||||||
'time'
|
|
||||||
'strace'
|
|
||||||
'noglob'
|
|
||||||
'nocorrect'
|
|
||||||
'command'
|
|
||||||
'builtin'
|
|
||||||
'whence'
|
|
||||||
'which'
|
|
||||||
'where'
|
|
||||||
'whereis'
|
|
||||||
'xargs'
|
|
||||||
'zargs'
|
|
||||||
)
|
)
|
||||||
|
|
||||||
# ZLE highlight types.
|
# ZLE highlight types.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user