On Fri, Jul 26 2013, Bruce Hill wrote:

> On Sat, Jul 27, 2013 at 12:39:13AM +0300, Nikos Chantziaras wrote:
>> 
>> On 26/07/13 22:13, [email protected] wrote:
>>> On Fri, Jul 26 2013, Nikos Chantziaras wrote:
>>>
>>>> As others pointed out, you now need to:
>>>>
>>>>    source /usr/share/bash-completion/bash_completion
>>>>
>>>> in your ~/.bashrc.  However, you also need to clean out anything in
>>>> /etc/bash_completion.d/ and then:
>>>>
>>>>    ln -s /usr/share/bash-completion/gentoo /etc/bash_completion.d/
>>>>
>>>> Otherwise, completion for Gentoo stuff (like "emerge") will not be
>>>> available.
>>>
>>> Although I have a number of files and one subdirectory in
>>> /usr/share/bash-completion, I have neither
>>>     /usr/share/bash-completion/bash_completion
>>>     /usr/share/bash-completion/gentoo
>>>
>>> Presumably I have forgotten to turn something on; would you know what?
>>
>> You probably forgot to re-emerge all packages that provide bash
>> completion files:
>>
>>   emerge -av1 \$(qfile -q -S -C /usr/share/bash-completion)
>>
>> This is actually printed by app-shells/bash-completion when emerging
>> it. If you don't do that, all the completion files are in the wrong
>> directory. And yes, it will probably re-emerge *a lot* of packages, so
>> you might want to do that while you're AFK.
>
> little syntax help:
>
> emerge -av1 $(qfile -q -S -C /usr/share/bash-completion)

Thank you nikos and bruce.
allan

Reply via email to