1 |
Glenn Enright wrote: |
2 |
> On Tuesday 25 April 2006 12:24 pm, JimD wrote: |
3 |
>> I also recommend renaming /etc/profile.d/bash-completion to |
4 |
>> /etc/profile.d/bash-completion.sh so it gets picked up by /etc/profile. |
5 |
> |
6 |
> Doing that creates an error about /etc/bash_completion.sh not existing |
7 |
|
8 |
Really??? Weird. Here is what I have at the end of /etc/profile |
9 |
|
10 |
for sh in /etc/profile.d/*.sh ; do |
11 |
if [ -r "$sh" ] ; then |
12 |
. "$sh" |
13 |
fi |
14 |
done |
15 |
|
16 |
And here is /etc/profile.d/ |
17 |
|
18 |
|
19 |
total 13K |
20 |
drwxr-xr-x 2 root root 112 Apr 19 14:14 ./ |
21 |
drwxr-xr-x 81 root root 4.6K Apr 24 18:48 ../ |
22 |
-rwxr-xr-x 1 root root 134 Apr 19 14:14 alias.sh* |
23 |
-rwxr-xr-x 1 root root 724 Apr 18 20:45 bash-completion.sh* |
24 |
|
25 |
Make sure the permissions on /etc/profile.d/bash-completion.sh are 755. |
26 |
|
27 |
Jim |
28 |
-- |
29 |
gentoo-user@g.o mailing list |