FS#59965 - pacman zsh completion gives wrong completion for pacman -Qs
Attached to Project:
Pacman
Opened by qwence (qwence) - Friday, 07 September 2018, 02:39 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 21 October 2018, 18:31 GMT
Opened by qwence (qwence) - Friday, 07 September 2018, 02:39 GMT
Last edited by Eli Schwartz (eschwartz) - Sunday, 21 October 2018, 18:31 GMT
|
Details
Expected behavior: pacman -Qs chr<tab> (in zsh)
completes packages
Actual behavior: this tries to complete files/directories Other completions I tried (e.g. pacman -Qi) and the bash version of the above work as expected. This is using pacman version 5.1.1-1. |
This task depends upon
Closed by Eli Schwartz (eschwartz)
Sunday, 21 October 2018, 18:31 GMT
Reason for closing: Fixed
Additional comments about closing: The default bash and zsh experience are now consistent with https://git.archlinux.org/pacman.git/com mit/?id=ea877c596bc380acd608468e4e38186a c0252197
Sunday, 21 October 2018, 18:31 GMT
Reason for closing: Fixed
Additional comments about closing: The default bash and zsh experience are now consistent with https://git.archlinux.org/pacman.git/com mit/?id=ea877c596bc380acd608468e4e38186a c0252197
On the one hand, it makes sense to not offer completions for what is in fact meant to be a regular expression search of both the package name and package description.
On the other hand, our current bash completion *does* offer package name completions here...
https://lists.archlinux.org/pipermail/pacman-dev/2018-September/022808.html