CLI completion: lualatex ≠ pdflatex and xelatex

Denis Bitouzé denis.bitouze at
Sat Nov 5 14:41:36 CET 2022

Le 04/11/22 à 17h37, Jim Diamond a écrit :

> Hi Denis,

Hi Jim,

> I am running Slackware64 15.0, and I see the same problem (except I
> use tex, not latex).
> In my case, the file /usr/share/zsh/5.8/functions/_tex starts with
>         #compdef tex latex slitex pdftex pdflatex jadetex pdfjadetex xetex=tex xelatex=latex latexmk
> and I notice that if I remove the '=tex' from 'xetex=tex' and start up
> a new zsh, all is good.

Nice! The drawback is that such a modification would be erased by an
update of the `zsh` package of the GNU/Linux distribution. Do you know
if it is possible to have a local version of this configuration file?

> I think this is a zsh issue/bug, not a texlive issue.

OK. In such a case, sorry for the noise.


More information about the tex-live mailing list.