1 |
Fabian Groffen <mailto:grobian@g.o> wrote: |
2 |
> On 03-04-2008 08:05:32 +0200, Duft Markus wrote: |
3 |
>> Jeremy <mailto:jer.gentoo@×××××.com> wrote: |
4 |
>>> So, I have eselect bashcomp enabled but when I try to tab complete |
5 |
>>> some eselect command either nothing happens or it completes with the |
6 |
>>> files in the CWD. |
7 |
>> |
8 |
>> I have the same problem, and discussed this with haubi too. Seems |
9 |
>> like nobody looks at the ~/.bash-completion.d/* files. Have you got |
10 |
>> bashcomp emerged? I think this adds a script to profile.d which |
11 |
>> sources those, but i'm not sure. |
12 |
> |
13 |
> I'm no bash "interactive" user, so I have no clue how this is supposed |
14 |
> to work. It feels pretty much like you have to do some magic in your |
15 |
> own ~/.bash_rc, or mess with your "global" config, as in: |
16 |
> http://gentoo-wiki.com/TIP_Use_TAB-completion_when_emerging_packages |
17 |
|
18 |
Ok, finally i got it to work :) attached is a small patch. The whole |
19 |
thing was not ready for prefix at all.... I'm not sure if the |
20 |
eprefixify's in the ebuild are in the correct position... At least |
21 |
things work then for me with this: |
22 |
|
23 |
emerge bash-completion |
24 |
eselect bashcomp enable base |
25 |
eselect bashcomp enable svn |
26 |
|
27 |
Gives nice bashcomp for svn for me :) |
28 |
|
29 |
Cheers, Markus |
30 |
|
31 |
> |
32 |
> |
33 |
> -- |
34 |
> Fabian Groffen |
35 |
> Gentoo on a different level |