diff options
author | c_14 <git@c-14.de> | 2014-08-13 22:07:02 +0200 |
---|---|---|
committer | Alessandro Ghedini <alessandro@ghedini.me> | 2014-08-13 23:00:36 +0200 |
commit | d6ccc4d8dec4b31d64a95027ade8c18b6e528c22 (patch) | |
tree | e800338181ad35028581cd5280d1d07eeb031041 | |
parent | 8664dc3c47f73beead80f4142b225e64ed09b55d (diff) | |
download | mpv-d6ccc4d8dec4b31d64a95027ade8c18b6e528c22.tar.bz2 mpv-d6ccc4d8dec4b31d64a95027ade8c18b6e528c22.tar.xz |
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.
-rwxr-xr-x | TOOLS/zsh.pl | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/TOOLS/zsh.pl b/TOOLS/zsh.pl index 15c181f5f1..0842bde7e9 100755 --- a/TOOLS/zsh.pl +++ b/TOOLS/zsh.pl @@ -98,6 +98,7 @@ $vf_str done ;; esac +return 1 EOS print $tmpl; |