public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
Search results ordered by [date|relevance]  view[summary|nested|Atom feed]
thread overview below | download: 
* Re: [gentoo-user] Re: bash-completion change?
  @ 2013-07-26 23:37 99%       ` gottlieb
  0 siblings, 0 replies; 1+ results
From: gottlieb @ 2013-07-26 23:37 UTC (permalink / raw
  To: gentoo-user

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, gottlieb@nyu.edu 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


^ permalink raw reply	[relevance 99%]

Results 1-1 of 1 | reverse | options above
-- pct% links below jump to the message on this page, permalinks otherwise --
2013-07-24 12:06     [gentoo-user] bash-completion change? Douglas J Hunley
2013-07-26 17:12     ` [gentoo-user] " Nikos Chantziaras
2013-07-26 19:13       ` gottlieb
2013-07-26 21:39         ` Nikos Chantziaras
2013-07-26 23:37 99%       ` gottlieb

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox