diff --git a/modules/macports/init.zsh b/modules/macports/init.zsh index c07ad2d6..899d58be 100644 --- a/modules/macports/init.zsh +++ b/modules/macports/init.zsh @@ -5,6 +5,11 @@ # Matt Cable # +# This module is for Mac OS X only. +if [[ "$OSTYPE" != darwin* ]]; then + return 1 +fi + # Aliases alias pc="sudo port clean --all installed" alias pi="sudo port install $1"