Created
September 10, 2016 05:54
-
-
Save canering/b527147619e1318b71b3869fbe301556 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# System-wide .profile for sh(1) | |
# Comment out Apple's default - which is dog slow | |
# if [ -x /usr/libexec/path_helper ]; then | |
# eval `/usr/libexec/path_helper -s` | |
# fi | |
PATH=\ | |
$HOME/bin:\ | |
/usr/local/bin:\ | |
/usr/local/sbin:\ | |
/usr/bin:/bin:\ | |
/usr/sbin:\ | |
/sbin:\ | |
/usr/local/share/python | |
LD_LIBRARY_PATH=/usr/local/lib:/usr/lib | |
MANPATH=/usr/local/man:/usr/local/share/man:/usr/share/man | |
for i in $HOME/local/*; do | |
[ -d "${i}/bin" ] && PATH="${i}/bin:${PATH}" | |
[ -d "${i}/sbin" ] && PATH="${i}/sbin:${PATH}" | |
[ -d "${i}/include" ] && CPATH="${i}/include:${CPATH}" | |
[ -d "${i}/lib" ] && LD_LIBRARY_PATH="${i}/lib:${LD_LIBRARY_PATH}" | |
[ -d "${i}/lib/pkgconfig" ] && | |
PKG_CONFIG_PATH="${i}/lib/pkgconfig:${PKG_CONFIG_PATH}" | |
[ -d "${i}/share/man" ] && MANPATH="${i}/share/man:${MANPATH}" | |
done | |
# export PATH | |
# export LD_LIBRARY_PATH | |
# export MANPATH | |
if [ "${BASH-no}" != "no" ]; then | |
[ -r /etc/bashrc ] && . /etc/bashrc | |
fi |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment