On 14/01/18 09:21, Eli Schwartz wrote: > On 01/13/2018 11:50 AM, Andrew Gregory wrote: >> Because parsing pacman.conf is so difficult that even we can't do it >> right. >> >> Signed-off-by: Andrew Gregory <[email protected]> >> --- >> scripts/completion/zsh_completion.in | 4 ++-- >> scripts/pacman-db-upgrade.sh.in | 21 ++------------------- >> scripts/pacman-key.sh.in | 2 +- >> 3 files changed, 5 insertions(+), 22 deletions(-) > > Our bash completion should also be updated to use pacman-conf, as > currently it uses a glorious hack to find the completions for -Sl which > involves verbosely printing all packages ever and using `cut|sort -u` to > extract repo names and dedupe them. >
patches welcome.
