[pacman-dev] [PATCH] zsh: use pacman instead of parsing pacman.conf
Andrew Gregory
andrew.gregory.8 at gmail.com
Thu Jan 26 15:53:58 UTC 2017
On 01/26/17 at 03:50pm, Earnestly via pacman-dev wrote:
> > 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.)
Hmmm? What's wrong with `pacconf --repo-list`? I promise I will
eventually finish moving it over to pacman.
> 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