Gentoo Archives: gentoo-alt

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