Control: tags -1 + patch Control: forwarded -1 https://www.zsh.org/mla/workers/2023/msg00292.html
On 2023-03-12 11:52 +0100, Sven Joachim wrote: > Package: zsh > Version: 5.9-4 > Severity: normal > > Typing "sbuild --extra-package=" and pressing TAB signals an error: > > ,---- > | % sbuild --extra-package= > | (eval):1: unmatched " > | _arguments:465: command not found: _ > | % sbuild --extra-package= > `---- > > Line 127 of /usr/share/zsh/functions/Completion/Debian/_sbuild has > mismatched quotes at the end. Attached patch fixes that problem, I have also sent it to the zsh-workers mailing list. Cheers, Sven
From d6e3c0c317a51d61a540e9b96e7d2cbab4917382 Mon Sep 17 00:00:00 2001 From: Sven Joachim <svenj...@gmx.de> Date: Sun, 12 Mar 2023 15:54:28 +0100 Subject: [PATCH] Fix unmatched quotes in "sbuild --extra-package" completion --- Completion/Debian/Command/_sbuild | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Completion/Debian/Command/_sbuild b/Completion/Debian/Command/_sbuild index a32b5e8c5..459738d5d 100644 --- a/Completion/Debian/Command/_sbuild +++ b/Completion/Debian/Command/_sbuild @@ -124,7 +124,7 @@ _sbuild() { '--aspcud-criteria=[Optimization for aspcud]:criteria' \ '(--resolve-alternatives --no-resolve-alternatives)--resolve-alternatives[allow alternatives in Build-Depends*]' \ '(--resolve-alternatives --no-resolve-alternatives)--no-resolve-alternatives[disallow alternatives in Build-Depends*]' \ - '--extra-package=[make a package or directory available to the resolver]:package:_files -g "*deb(-.)' \ + '--extra-package=[make a package or directory available to the resolver]:package:_files -g "*deb(-.)"' \ '--extra-repository=[add a repository to the resolver]:url' \ '--extra-repository-key=[add key to the resolver]:key:_files -g "*.asc(-.)"' \ '--build-path=[place to build the package inside chroot]:path:_files -/' \ -- 2.39.2