FS#47559 - Zsh completion incomplete

Attached to Project: Pacman
Opened by Boris Staletic (bstaletic) - Tuesday, 29 December 2015, 19:23 GMT
Last edited by Allan McRae (Allan) - Sunday, 31 January 2016, 03:49 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To Allan McRae (Allan)
Architecture All
Severity Low
Priority Normal
Reported Version 4.2.1
Due in Version 5.0.0
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

There are some completions missing when using zsh. Some of the missing ones are: "--arch, --debug, --confirm, --gpgdir" which are missing everywhere. On top of that upgrade mode is missing --ignore* --asdeps --asexplicit and --print-format, sync and query modes are missing --quiet, remove mode is missing -u -p -d --unneeded --nodeps --print-format. I may have missed some, but my patch should fill in all missing completions in /usr/share/zsh/site-functions/_pacman, though I don't know how to make zsh complete string patterns for --print-format.

Steps to Reproduce:

1. Open zsh and enable completions
2. Enter "pacman -S<Tab>" (any other option can be used)
3. Some options are not listed (--arch for exapmle)
This task depends upon

Closed by  Allan McRae (Allan)
Sunday, 31 January 2016, 03:49 GMT
Reason for closing:  Fixed
Additional comments about closing:  git commit 9604570a

Loading...