mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-19 21:03:48 +00:00
add support for MacPorts
This commit is contained in:
parent
1ae2914fc1
commit
49e513237f
1 changed files with 23 additions and 0 deletions
23
zsh/ports
Executable file
23
zsh/ports
Executable 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
|
Loading…
Add table
Reference in a new issue