1 |
fire-eyes wrote: |
2 |
> Hi, i'm trying to use bash completion. That is, the extended bash completion. |
3 |
> |
4 |
> I merged bash-completion, and it tells me to do the following: |
5 |
> |
6 |
> einfo "Add the following to your ~/.bashrc to enable completion support." |
7 |
> einfo "NOTE: to avoid things like Gentoo bug #98627, you should set |
8 |
> aliases" |
9 |
> einfo "after sourcing /etc/profile.d/bash-completion." |
10 |
> einfo |
11 |
> einfo "[[ -f /etc/profile.d/bash-completion ]] && \\ " |
12 |
> einfo " source /etc/profile.d/bash-completion" |
13 |
> |
14 |
> I have done this as root, and also done an eselect bashcomp enable modules , |
15 |
> log out, back in, yet i am not able to complete modprobe -v ipw2[tab] which |
16 |
> should expand to ipw2200. |
17 |
> |
18 |
> Any ideas? |
19 |
|
20 |
try the following: |
21 |
|
22 |
jim@keelie $ source /etc/bash_completion |
23 |
|
24 |
jim@keelie $ modprobe -v snd-inte[tab][tab] |
25 |
snd-intel8x0 snd-intel8x0m snd-interwave snd-interwave-stb |
26 |
|
27 |
|
28 |
I have to hit tab twice to get a list. Replace snd-inte with any module |
29 |
you have. I didn't compile ipw2200. You could also just try: |
30 |
|
31 |
jim@keelie $ modprobe[space][tab][tab] |
32 |
Display all 385 possibilities? (y or n) |
33 |
|
34 |
Do you get something like the above? |
35 |
|
36 |
Jim |
37 |
-- |
38 |
gentoo-user@g.o mailing list |