diff options
author | Philip Sequeira <phsequei@gmail.com> | 2017-03-05 17:17:09 -0500 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2017-03-06 15:41:08 +0100 |
commit | b5bb006173fee60b859caf755af70bc7382ae004 (patch) | |
tree | 6eb8291d1c54a86f988742f3bf9b6b501eb9ca32 /TOOLS/zsh.pl | |
parent | a2a5fa454565e7e7ca11721ec9d1935a9fccf168 (diff) | |
download | mpv-b5bb006173fee60b859caf755af70bc7382ae004.tar.bz2 mpv-b5bb006173fee60b859caf755af70bc7382ae004.tar.xz |
TOOLS/zsh.pl: don't leak regex match variables
Diffstat (limited to 'TOOLS/zsh.pl')
-rwxr-xr-x | TOOLS/zsh.pl | 3 |
1 files changed, 3 insertions, 0 deletions
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 || \ |