Browse Source

Check operating system in macports

master
Sorin Ionescu 13 years ago
parent
commit
9c8c2003cd
  1. 5
      modules/macports/init.zsh

5
modules/macports/init.zsh

@ -5,6 +5,11 @@
# Matt Cable <wozz@wookie.net> # Matt Cable <wozz@wookie.net>
# #
# This module is for Mac OS X only.
if [[ "$OSTYPE" != darwin* ]]; then
return 1
fi
# Aliases # Aliases
alias pc="sudo port clean --all installed" alias pc="sudo port clean --all installed"
alias pi="sudo port install $1" alias pi="sudo port install $1"

Loading…
Cancel
Save