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 freswa (frederik) - Tuesday, 04 July 2023, 09:13 GMT
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Christian Hesse (eworm)
freswa (frederik)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

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

[1] https://www.zsh.org/mla/workers/2022/msg00652.html
[2] https://github.com/zsh-users/zsh/commit/3e3cfabcc74dc79d4d8717c4e5859d8d01be6c54

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

Closed by  freswa (frederik)
Tuesday, 04 July 2023, 09:13 GMT
Reason for closing:  Fixed
Additional comments about closing:  zsh-5.9-4
Comment by Chih-Hsuan Yen (yan12125) - Sunday, 02 July 2023, 15:47 GMT
How do you think about the attached PKGBUILD.diff? Now I can push to [extra]. I'm willing to upload a fix if you wish.

Loading...