From fd98863b1fb69872741106e0ae2e2c4f078bc1c0 Mon Sep 17 00:00:00 2001 From: c_14 Date: Wed, 13 Aug 2014 22:07:02 +0200 Subject: 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. --- TOOLS/zsh.pl | 1 + 1 file changed, 1 insertion(+) (limited to 'TOOLS/zsh.pl') 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; -- cgit v1.2.3