'main': Support the 'env' precommand.
This commit is contained in:
parent
2904e0f986
commit
aecfd61bbd
|
@ -71,6 +71,8 @@
|
|||
- Highlight directories in command position correctly, including `AUTO_CD` support
|
||||
[#669]
|
||||
|
||||
- Recognize `env` as a precommand (e.g., `env FOO=bar ls`)
|
||||
|
||||
# Changes in version 0.7.1
|
||||
|
||||
- Remove out-of-date information from the 0.7.0 changelog.
|
||||
|
|
|
@ -347,6 +347,8 @@ _zsh_highlight_highlighter_main_paint()
|
|||
'catchsegv' ''
|
||||
'nohup' ''
|
||||
'setsid' :wc
|
||||
'env' u:i
|
||||
|
||||
# As of OpenSSH 8.1p1
|
||||
'ssh-agent' aEPt:csDd:k
|
||||
# suckless-tools v44
|
||||
|
|
|
@ -35,5 +35,5 @@ expected_region_highlight=(
|
|||
'6 6 commandseparator' # \n
|
||||
'7 9 default' # bar
|
||||
'10 10 assign' # )
|
||||
'12 14 command' # env
|
||||
'12 14 precommand' # env
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue