[MacPorts] #30664: bash-completion: document to source $prefix/etc/profile.d/
MacPorts
noreply at macports.org
Mon Aug 8 22:11:07 PDT 2011
#30664: bash-completion: document to source $prefix/etc/profile.d/
--------------------------------+-------------------------------------------
Reporter: blair@… | Owner: macports-tickets@…
Type: enhancement | Status: new
Priority: Normal | Milestone:
Component: ports | Version: 2.0.1
Keywords: | Port: bash-completion
--------------------------------+-------------------------------------------
Hello,
The maven* ports are going to install files into $prefix/etc/profile.d.
It would be nice if bash-completion port changed its note to use this code
instead in ~/bash_profile:
{{{
if test -d $prefix/etc/profile.d; then
for i in $prefix/etc/profile.d/*.sh; do
if test -r $i; then
. $i
fi
done
unset i
fi
}}}
--
Ticket URL: <https://trac.macports.org/ticket/30664>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list