'main': Support the 'env' precommand.

This commit is contained in:
Daniel Shahaf 2020-03-21 01:45:34 +00:00
parent 2904e0f986
commit aecfd61bbd
3 changed files with 5 additions and 1 deletions

View file

@ -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.

View file

@ -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

View file

@ -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
)