Add MacPorts again
(The installer just modifies `~/.profile`, and is not system-wide.)
This commit is contained in:
parent
6aa02f7abf
commit
02a36af41b
1 changed files with 6 additions and 0 deletions
6
zshrc
6
zshrc
|
@ -83,6 +83,12 @@ if [[ $OSTYPE == darwin* ]]; then
|
|||
eval $($BREW_PREFIX/bin/brew shellenv)
|
||||
fi
|
||||
|
||||
# What about MacPorts?
|
||||
if [ -d /opt/local ]; then
|
||||
export PATH=/opt/local/bin:/opt/local/sbin:$PATH
|
||||
export MANPATH=/opt/local/share/man:$MANPATH
|
||||
fi
|
||||
|
||||
# Under Darwin, we also want iTerm2 integration if possible.
|
||||
if [ -f ${HOME}/.iterm2_shell_integration.zsh ]; then
|
||||
source "${HOME}/.iterm2_shell_integration.zsh"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue