1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 18:38:00 +00:00

Check operating system in macports

This commit is contained in:
Sorin Ionescu 2012-06-02 14:18:36 -04:00
parent 160e1a3926
commit 9c8c2003cd

View File

@ -5,6 +5,11 @@
# Matt Cable <wozz@wookie.net>
#
# 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"