From b5bb006173fee60b859caf755af70bc7382ae004 Mon Sep 17 00:00:00 2001 From: Philip Sequeira Date: Sun, 5 Mar 2017 17:17:09 -0500 Subject: TOOLS/zsh.pl: don't leak regex match variables --- TOOLS/zsh.pl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'TOOLS') diff --git a/TOOLS/zsh.pl b/TOOLS/zsh.pl index f4491e3971..96ef17a732 100755 --- a/TOOLS/zsh.pl +++ b/TOOLS/zsh.pl @@ -96,6 +96,9 @@ my $tmpl = <<"EOS"; local curcontext="\$curcontext" state state_descr line typeset -A opt_args +local -a match mbegin mend +local MATCH MBEGIN MEND + # By default, don't complete URLs unless no files match local -a tag_order zstyle -a ":completion:*:*:\$service:*" tag-order tag_order || \ -- cgit v1.2.3