Glenn Enright wrote:
> On Tuesday 25 April 2006 12:24 pm, JimD wrote:
>> I also recommend renaming /etc/profile.d/bash-completion to
>> /etc/profile.d/bash-completion.sh so it gets picked up by /etc/profile.
> 
> Doing that creates an error about /etc/bash_completion.sh not existing

Really???  Weird.  Here is what I have at the end of /etc/profile

for sh in /etc/profile.d/*.sh ; do
    if [ -r "$sh" ] ; then
        . "$sh"
    fi
done

And here is /etc/profile.d/


total 13K
drwxr-xr-x  2 root root  112 Apr 19 14:14 ./
drwxr-xr-x 81 root root 4.6K Apr 24 18:48 ../
-rwxr-xr-x  1 root root  134 Apr 19 14:14 alias.sh*
-rwxr-xr-x  1 root root  724 Apr 18 20:45 bash-completion.sh*

Make sure the permissions on /etc/profile.d/bash-completion.sh are 755.

Jim
-- 
gentoo-user@gentoo.org mailing list

Reply via email to