diff --git a/zshrc b/zshrc index a90af02..4252ff5 100644 --- a/zshrc +++ b/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"