Browse Source

Add MacPorts paths to path variables

master
Sorin Ionescu 13 years ago
parent
commit
c352b86aeb
  1. 20
      modules/macports/init.zsh

20
modules/macports/init.zsh

@ -10,6 +10,26 @@ if [[ "$OSTYPE" != darwin* ]]; then
return 1 return 1
fi 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 # Aliases
alias pc="sudo port clean --all installed" alias pc="sudo port clean --all installed"
alias pi="sudo port install $1" alias pi="sudo port install $1"

Loading…
Cancel
Save