add support for MacPorts

This commit is contained in:
David Majnemer 2008-12-25 17:12:45 -05:00
parent 1ae2914fc1
commit 49e513237f

23
zsh/ports Executable file
View file

@ -0,0 +1,23 @@
if [[ -d /opt/local/man ]] ; then
if [[ -z "${MANPATH}" ]] ; then
export MANPATH="/opt/local/man":$(manpath)
else
export MANPATH="/opt/local/man:${MANPATH}"
fi
fi
if [[ -d /opt/local/bin ]] ; then
if [[ -z "${PATH}" ]] ; then
export PATH="/opt/local/bin"
else
export PATH="/opt/local/bin:${PATH}"
fi
fi
if [[ -d /opt/local/sbin ]] ; then
export PATH="/opt/local/sbin:${PATH}"
fi
if [[ -d /opt/local/libexec ]] ; then
export PATH="/opt/local/libexec:${PATH}"
fi