On Fri, 26 Jun 2020 09:57:49 +0200, Samuel Sieb wrote:
On 6/26/20 12:42 AM, Jan Kratochvil wrote:
> This will be always a catch up play. To make it working each completion script
> would need to be part of the package it is implementing completion for.
> Additionally it would need to be integrated into the program's commandline
> parsing as otherwise it will never be 100% matching. There were efforts to
I have no idea what you're talking about. The bash completion scripts are
generally supplied by the package that they are for:
# rpm -qf /usr/share/bash-completion/completions/dnf
$ rpm -qlp bash-completion-2.8-8.fc32.noarch.rpm|grep
The dnf one works fine.
It does not as I have shown. Moreover it takes so much time to do dnf command
completion and one always has to ctrl-c it anyway. That is because dnf should
use cached results updated by cron and do not contact network during
interactive cache queries. If one really wants most fresh data there is
--refresh for that.
But if you don't like how specific ones work, then file bugs.
The bug is bash-completion itself, I do not see what does it try to solve, the
best fix is just to remove it.