Add MacPorts paths to path variables
This commit is contained in:
parent
9c8c2003cd
commit
c352b86aeb
1 changed files with 20 additions and 0 deletions
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue