Gentoo Archives: gentoo-user

From: Jorge Almeida <jalmeida@××××××××××××.pt>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] bash_completion
Date: Sun, 07 Jan 2007 18:21:30
Message-Id: Pine.LNX.4.64.0701071804520.25097@jmaa.math.ist.utl.pt
In Reply to: Re: [gentoo-user] bash_completion by Willie Wong
1 On Sun, 7 Jan 2007, Willie Wong wrote:
2
3 > On Sun, Jan 07, 2007 at 12:25:49AM +0000, Penguin Lover Jorge Almeida squawked:
4 >> Already did it (commented out the line in ~/.bashrc and sourced this
5 >> file...) It doesn't freeze now, of course.
6 >>>
7 >>
8 >
9 > Which version of bash completion? And which version of bash?
10 >
11 app-shells/bash-completion-20050121-r10
12 app-shells/bash-3.1_p17
13
14 > (Just want to check if you are running a different version from mine:
15 > I have 20050121-r10, everything else masked by ~)
16 >
17 > Now, with the bash-completion script sourced, what does it say when
18 > you type
19 >
20 > complete -p less (or tar, or mplayer?)
21 >
22 $ complete -p less
23 complete -o filenames -F _longopt less
24
25 > if you are in the directory with the README file, what happens if you
26 > do
27 >
28 > compgen -f RE
29 > compgen -d RE
30 >
31 > does it freeze up your computer?
32 >
33 No, it just does its stuff as expected.
34
35 > /etc/bash_completion is just a big shell script, and it calls mostly
36 > bash builtin commands, so its resource hit really shouldn't be that
37 > high.
38 >
39 >
40
41 Thanks.
42
43 Jorge
44 --
45 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] bash_completion Willie Wong <wwong@×××××××××.EDU>