Add MacPorts paths to path variables

This commit is contained in:
Sorin Ionescu 2012-06-02 14:19:33 -04:00
parent 9c8c2003cd
commit c352b86aeb

View file

@ -10,6 +10,26 @@ if [[ "$OSTYPE" != darwin* ]]; then
return 1
fi
# Paths
# Set the list of directories that info searches for manuals.
infopath=(
/opt/local/share/info
$infopath
)
# Set the list of directories that man searches for manuals.
manpath=(
/opt/local/share/man
$manpath
)
# Set the list of directories that Zsh searches for programs.
path=(
/opt/local/{bin,sbin}
$path
)
# Aliases
alias pc="sudo port clean --all installed"
alias pi="sudo port install $1"