Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 172553

Summary: bash-completion does not have extension .sh, thus it is not included from /etc/profile
Product: Gentoo Linux Reporter: Martin Balaz <balaz>
Component: Current packagesAssignee: Gentoo Linux bug wranglers <bug-wranglers>
Status: RESOLVED DUPLICATE    
Severity: minor    
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Martin Balaz 2007-03-28 13:27:58 UTC
In the file /etc/profile there is this piece of code:

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

The script for bash-completion is named "/etc/profile.d/bash-completion".
It does not have ".sh" extension, thus it is not included.

Reproducible: Always
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2007-03-28 13:29:18 UTC
That's by design.

*** This bug has been marked as a duplicate of bug 124741 ***