Bringing shell completions to the users

Norbert Preining norbert at preining.info
Sun Feb 2 09:57:01 CET 2025


Hi Markus,

thanks for working on the shell completions!

> Now, I recently added a zsh completion script to pdfjam and improved
> texdoc’s zsh completion. So, I wondered how those will be actually
> incorporated in TeX-Live.

Please submit them to the respective upstream authors, in this case only
texdoc it seems, via a PR.

> Is installing shell completions actually inside TeX-Live’s scope? If

No. We don't install anything outside the root of the TL installation.

> not, could you please reach out to the Linux Distribution packagers to
> have them install the completions correctly? Or shall I do this myself?

That is out of our hands. As Karl wrote, you can contact **some** of the
distro maintainers on the tldistro mailing list.

Installation (and/or optional activation) is handled differently from
distribution to distribution, so we cannot even send a recipe for how to
do it.

What **could** be done (albeit not by us, since neither Karl it seems
nor myself, have an idea about completions), is creating a website under
tug.org/texlive/shell-completions.html and try to collect all the
available information:

* pdfjam
	install ...
* texdoc
	install the output of texdoc ...
...

I guess there are some other packages providing shell completion
integration.

Assuming such a page exists, distro maintainers will probably be more
inclined to actually work on the installation. Otherwise they would have
to hunt down all this information by themselves.

Best regards

Norbert

--
PREINING Norbert                              https://www.preining.info
arXiv / Cornell University   +   IFMGA Guide   +   TU Wien  +  TeX Live
GPG: 0x860CDC13   fp: F7D8 A928 26E3 16A1 9FA0 ACF0 6CAC A448 860C DC13


More information about the tex-live mailing list.