1 |
fire-eyes wrote: |
2 |
> On Monday 24 April 2006 18:45, JimD wrote: |
3 |
>> try the following: |
4 |
>> |
5 |
>> jim@keelie $ source /etc/bash_completion |
6 |
>> |
7 |
>> jim@keelie $ modprobe -v snd-inte[tab][tab] |
8 |
>> snd-intel8x0 snd-intel8x0m snd-interwave snd-interwave-stb |
9 |
>> |
10 |
>> |
11 |
>> I have to hit tab twice to get a list. Replace snd-inte with any module |
12 |
>> you have. I didn't compile ipw2200. You could also just try: |
13 |
>> |
14 |
>> jim@keelie $ modprobe[space][tab][tab] |
15 |
>> Display all 385 possibilities? (y or n) |
16 |
>> |
17 |
>> Do you get something like the above? |
18 |
> |
19 |
> Curious. That worked fine. So why isn't it being sourced since i followed the |
20 |
> directions at the end of the ebuild? |
21 |
|
22 |
Do you have your terminal set to create a login shell? I noticed that |
23 |
/etc/profile will source /etc/profile.d/*.sh when you log in. However |
24 |
if you look in /etc/profile.d/, bash-completion gets installed as |
25 |
bash-completion and not bash-completion.sh. So it appears to never get |
26 |
sourced. I renamed it to bash-completion.sh and it works for me. I |
27 |
also set gnome-terminal to create a login shell. |
28 |
|
29 |
A login shell will source /etc/profile and /etc/bash/bashrc where as a |
30 |
non-login shell will only source /etc/bash/bashrc. |
31 |
|
32 |
Jim |
33 |
-- |
34 |
gentoo-user@g.o mailing list |