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:
parent
69a160f187
commit
fd98863b1f
@ -98,6 +98,7 @@ $vf_str
|
||||
done
|
||||
;;
|
||||
esac
|
||||
return 1
|
||||
EOS
|
||||
|
||||
print $tmpl;
|
||||
|
Loading…
Reference in New Issue
Block a user