[pacman-dev] [PATCH] zsh: use pacman instead of parsing pacman.conf

Earnestly zibeon at googlemail.com
Thu Jan 26 15:50:13 UTC 2017


> pacman -Sl is not suitable for parsing.  This breaks on databases with
> spaces in their name.

I'm aware, and like the bash completion scripts this is not a complete
solution as the tools needed to properly inspect pacman's configuration
aren't readily available yet.

(Excluding pacutils, which itself is not completely sufficient as it
doesn't understand what a "repository" is beyond it being a section.)

Ultimately both completion scripts will need a bit of reworking
eventually.  This patch is simply to tide it over until then.


More information about the pacman-dev mailing list