'main': Don't trip WARN_NESTED_VAR.

Fixes #727.
This commit is contained in:
Daniel Shahaf 2020-05-04 13:27:33 +00:00
parent f1b9fbbaf0
commit 16d818a21f

View File

@ -1677,6 +1677,8 @@ _zsh_highlight_main_highlighter_expand_path()
# -------------------------------------------------------------------------------------------------
_zsh_highlight_main__precmd_hook() {
setopt localoptions
unsetopt warnnestedvar
_zsh_highlight_main__command_type_cache=()
}