Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172553 - bash-completion does not have extension .sh, thus it is not included from /etc/profile
Summary: bash-completion does not have extension .sh, thus it is not included from /et...
Status: RESOLVED DUPLICATE of bug 124741
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High minor (vote)
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-28 13:27 UTC by Martin Balaz
Modified: 2007-03-28 13:29 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***