From 02a36af41b13f48bb76939915127afde90c9fa5b Mon Sep 17 00:00:00 2001 From: Spotlight Date: Mon, 3 Apr 2023 15:22:23 -0500 Subject: [PATCH] Add MacPorts again (The installer just modifies `~/.profile`, and is not system-wide.) --- zshrc | 6 ++++++ 1 file changed, 6 insertions(+) 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"