main: Avoid null elision in _check_path
This could be triggered if BUFFER='\'.
This commit is contained in:
parent
e27e53b1ef
commit
07f259f653
|
@ -893,7 +893,7 @@ _zsh_highlight_main_highlighter_highlight_path_separators()
|
||||||
# Else, return non-zero (and the contents of $REPLY is undefined).
|
# Else, return non-zero (and the contents of $REPLY is undefined).
|
||||||
_zsh_highlight_main_highlighter_check_path()
|
_zsh_highlight_main_highlighter_check_path()
|
||||||
{
|
{
|
||||||
_zsh_highlight_main_highlighter_expand_path $1
|
_zsh_highlight_main_highlighter_expand_path "$1"
|
||||||
local expanded_path="$REPLY" tmp_path
|
local expanded_path="$REPLY" tmp_path
|
||||||
|
|
||||||
REPLY=path
|
REPLY=path
|
||||||
|
|
Loading…
Reference in New Issue