diff --git a/TOOLS/zsh.pl b/TOOLS/zsh.pl index 1626c18078..4f23b934b3 100755 --- a/TOOLS/zsh.pl +++ b/TOOLS/zsh.pl @@ -72,6 +72,9 @@ my $tmpl = <<"EOS"; # mpv zsh completion +local curcontext="\$curcontext" state state_descr line +typeset -A opt_args + local rc=1 _arguments -C -S \\ @@ -120,6 +123,7 @@ $profile_comp ;; mfiles) + local expl _tags files urls while _tags; do _requested files expl 'media file' _files -g \\