1 |
On 06/10/2011 10:08 PM, Dale wrote: |
2 |
> Paul Hartman wrote: |
3 |
>> See Pandu's latest message in this thread. Once you enable it like he |
4 |
>> showed, it'll work like this: |
5 |
>> |
6 |
>> # eselect<pressed tab twice here> |
7 |
>> bashcomp boost ctags fontconfig java-vm |
8 |
>> locale news pager python usage |
9 |
>> visual |
10 |
>> binutils --brief editor help kernel |
11 |
>> mesa --no-colour pinentry rc |
12 |
>> version wxwidgets |
13 |
>> blas cblas env java-nsplugin lapack |
14 |
>> modules opengl profile ruby vi |
15 |
>> xvmc |
16 |
>> |
17 |
> |
18 |
> Oh. Ohhhhh!!! NEATO. Now to remember I can do this the next time I can't |
19 |
> remember the name of a module. lol |
20 |
> |
21 |
> Double neato ! It works after each option too. |
22 |
|
23 |
Well, it's called bash completion and works pretty much for everything |
24 |
that has a completion file. It needs "app-shells/bash-completion" to be |
25 |
installed. There's a also global USE flag called bash-completion. |
26 |
|
27 |
And also an eselect module called bashcomp, where you can enable this |
28 |
feature for specific tools and packages. "eselect bashcomp list" shows |
29 |
the packages that support this. For example, try "ls --<tab><tab>" and |
30 |
you get a list options. Or gcc, or unrar, or... |