1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-17 04:22:41 +00:00

TOOLS/zsh.pl: properly return non-zero when no matches are found

Returning a non-zero value signals to the zsh completion system that no matches
were added by the script so that it can try the user-defined matchers (e.g.
those defined with matcher-list).

Fixes #1008.
This commit is contained in:
c_14 2014-08-13 22:07:02 +02:00 committed by Alessandro Ghedini
parent 69a160f187
commit fd98863b1f

View File

@ -98,6 +98,7 @@ $vf_str
done
;;
esac
return 1
EOS
print $tmpl;