Michał Górny posted on Mon, 09 Sep 2013 17:18:50 +0200 as excerpted:

> Dnia 2013-09-09, o godz. 18:12:08 Nikos Chantziaras <rea...@gmail.com>
> napisał(a):
> 
>> On 09/09/13 13:05, Michał Górny wrote:
>> >
>> > Trying plain:
>> >
>> >    complete -r git
>> >
>> > it removes git completion indeed. But when I type 'git <tab>', it is
>> > loaded back :).
>> 
>> You can disable the "bash-completion" USE flag of dev-vcs/git.  This
>> isn't a real solution, of course, since you need to recompile the whole
>> package every time you want to disable or enable bash completion.  But
>> if you don't intend to actually ever use Git's completion, then this
>> should work.
> 
> And it is a bug since completions are supposed to be installed indep of
> USE flags.

Indeed.  The general gentoo policy is that "trivial" files such as bash-
completions, systemd unit files, etc, aren't to be install-controlled via 
USE flags, for exactly the reason given -- the cost of rebuilding the 
entire package just to change one's mind is considered too high to pay 
for the "trivial" amount of space taken by such files, particularly so 
when people who /really/ care about it already have the install-mask 
solution available.

However, that totally skirts another problem as well.  If one user on a 
system wants completion and another doesn't, installation-control isn't 
going to cut it.  That's a problem that per-user eselect bash-completion 
USED to address, but doesn't with the new bash-completion.

-- 
Duncan - List replies preferred.   No HTML msgs.
"Every nonfree program has a lord, a master --
and if you use the program, he is your master."  Richard Stallman


Reply via email to