Empty matches in _ansi_to_zle()

This commit is contained in:
Joe Rabinoff 2020-02-14 07:25:48 -05:00 committed by GitHub
parent c432451c20
commit 3e1413eaf1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -41,6 +41,7 @@ _zsh_highlight_highlighter_files_ansi_to_zle()
seq=${seq#(#b)(*)=} seq=${seq#(#b)(*)=}
(( $#match )) || continue (( $#match )) || continue
_zsh_highlight_highlighter_files_ansi_to_zle1 $seq $var\[$match[1]\] _zsh_highlight_highlighter_files_ansi_to_zle1 $seq $var\[$match[1]\]
unset match
done done
} }