diff --git a/modules/macports/init.zsh b/modules/macports/init.zsh index c07ad2d6..2b881a2e 100644 --- a/modules/macports/init.zsh +++ b/modules/macports/init.zsh @@ -5,6 +5,10 @@ # Matt Cable # +if [[ "$OSTYPE" != darwin* ]]; then + return 1 +fi + # Aliases alias pc="sudo port clean --all installed" alias pi="sudo port install $1" @@ -13,3 +17,7 @@ alias puni="sudo port uninstall inactive" alias puo="sudo port upgrade outdated" alias pup="psu && puo" +path=( + /opt/local/{bin,sbin} +$path +)