[Pkg-zsh-devel] Bug#1101675: Bug#1101675: Bug#1101675: zsh: completion suddenly broken

Vincent Lefevre vincent at vinc17.net
Mon Mar 31 01:30:17 BST 2025


Control: reassign -1 python3-argcomplete 3.6.1-1
Control: retitle -1 python3-argcomplete: breaks zsh completions
Control: severity -1 critical
Control: tags -1 - moreinfo unreproducible

The issue comes from

lrwxrwxrwx 1 root root 84 2025-03-25 19:05:01 /usr/share/zsh/vendor-completions/_python-argcomplete -> ../../../lib/python3/dist-packages/argcomplete/bash_completion.d/_python-argcomplete

This is a regression.

To reproduce:

rm -f ~/.zcompdump; mkdir -p testdir; touch $_/FOO; autoload -U compinit; $_ -D; zstyle ':completion:*' matcher-list '' 'm:{a-zA-Z}={A-Za-z}'; print -z : testdir/f

then type the <tab> key 1 or 2 times.

On my machine with python3-argcomplete 3.6.1-1, I get

qaa% : testdir/f

With python3-argcomplete 3.5.3-1, same issue, but if I type <tab>
a second time, I get

qaa% : testdir/FOO

as expected. (BTW, I had already seen this issue with <tab> not working
on the first time on this machine, and has already been wondering why...
Now, I know.)

Without python3-argcomplete, <tab> immediately gives

qaa% : testdir/FOO

as expected.

-- 
Vincent Lefèvre <vincent at vinc17.net> - 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)



More information about the Pkg-zsh-devel mailing list