Arch Linux

Please read this before reporting a bug:

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!

FS#75095 - [zsh] Backport a regression fix for auto-completion

Attached to Project: Arch Linux
Opened by Chih-Hsuan Yen (yan12125) - Friday, 17 June 2022, 06:20 GMT
Last edited by Toolybird (Toolybird) - Wednesday, 27 July 2022, 09:35 GMT
Task Type Feature Request
Category Packages: Extra
Status Assigned
Assigned To Pierre Schmitz (Pierre)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No



zsh 5.9 has a regression, where auto-completion may give wrong results [1]. Upstream has a fix [2], and I can confirm auto-completion works fine again with that fix. Could you consider backport that fix to extra/zsh?

Additional info:

extra/zsh 5.9-1


Steps to reproduce:

My steps to reproduce the regression are slightly different than those provided on the upstream report. I need to run compinit explicitly:

$ mkdir -p /tmp/zsh_test/{a,b}
$ zsh -f
myhostname% autoload -U compinit && compinit
myhostname% setopt NO_CASE_GLOB
myhostname% cd /tmp/zsh_test (press tab to trigger completion)
myhostname% cd /tmp/zsh_test/B (press tab again)
myhostname% cd /tmp/zsh_test/b/
This task depends upon