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.
Control: tags -1 + patch
Control: forwarded -1 https://www.zsh.org/mla/workers/2023/msg00292.html
Attached patch fixes that problem, I have also sent it to the
zsh-workers mailing list.
Cheers,
Sven
Hi Sven, Sven Joachim wrote: Indeed. Would this change fix the issue? - '--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(-.)"' \ Regards, Axel
Sven Joachim wrote: Ah, sorry, oversaw your reply when I wrote my previous mail. Thanks! Regards, Axel
Hi, I ran into this bug today. As a workaround I manually fixed it for now; I often need to build with extra packages. Are there still any blockers for this ? best, werdahias
Upstream applied it as https://github.com/zsh-users/zsh/commit/6725cbc05fc7943290896ae80d706f335eec96ba C
Thanks for pointing this out. best, werdahias
Package: zsh Version: 5.9.2-1 It was cherry-picked for zsh 5.9.2 in https://github.com/zsh-users/zsh/commit/b2920dff329e804f148c3dc1486132c6bc023cd8. Closing the bug accordingly, Sven