[Yum-devel] [PATCH] bash completion: load yum.bash in. BZ 953210
Ville Skyttä
ville.skytta at iki.fi
Fri Apr 19 14:46:11 UTC 2013
On 2013-04-19 17:28, Zdenek Pavlas wrote:
>> Using it in yum-utils is a matter of prepending "_xfunc yum " to all
>> calls of functions that are in yum's. There are some examples of this in
>> bash-completion itself.
>
> Is that any better than adding a one-liner at the top?
Cleaner IMO, upstream supported way, and one subshell + pkg-config
invocation less.
>> BTW if assuming presence of bash-completion >= 2.0 is acceptable, there
>> are a few things that could be cleaned up.
>
> Not sure about this.
Not sure what you're not sure of :), but if it's about >= 2.0 note that
the one-liner your original patch adds will require >= 2.0 (well 1.99)
anyway, the *.pc file didn't exist before that.
More information about the Yum-devel
mailing list