Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: qpdf or bashcompinit completion bug
On 2025-08-19 06:59:13 -0500, Bart Schaefer wrote:
> On Tue, Aug 19, 2025, 6:41 AM Vincent Lefevre <vincent@xxxxxxxxxx> wrote:
> > As a user, I did not choose to use bashcompinit. It is the zsh
> > completion system that uses it, via a system-level completion.
>
> This is not the case. There is no completion for qpdf distributed with
> zsh. You or your system installer have chosen to make it available from a
> third party (possibly the qpdf application itself), and the supplier of
> _qpdf has chosen to implement it by using the optional bashcompletion
> support rather than to re-implement it in native zsh.
>
> The bashcompletion sources are specifically designed to implement the bash
> interface to completion definitions as closely as possible, so that any
> functions written for bash do not have to be rewritten, but zsh does not
> require or even encourage its use.
So, the internal, non-optional and undocumented use of bashcompinit
by qpdf completion should be regarded as a bug in the qpdf package?
--
Vincent Lefèvre <vincent@xxxxxxxxxx> - Web: <https://www.vinc17.net/>
100% accessible validated (X)HTML - Blog: <https://www.vinc17.net/blog/>
Work: CR INRIA - computer arithmetic / Pascaline project (LIP, ENS-Lyon)
Messages sorted by:
Reverse Date,
Date,
Thread,
Author