1
0
Fork 0

Dont run if not on darwin

prepend /opt/local/{bin,sbin} to the path
pull/186/head
Ben O'Hara 13 years ago
parent c20f63d758
commit 2369c5c792

@ -5,6 +5,10 @@
# Matt Cable <wozz@wookie.net> # Matt Cable <wozz@wookie.net>
# #
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"
@ -13,3 +17,7 @@ alias puni="sudo port uninstall inactive"
alias puo="sudo port upgrade outdated" alias puo="sudo port upgrade outdated"
alias pup="psu && puo" alias pup="psu && puo"
path=(
/opt/local/{bin,sbin}
$path
)

Loading…
Cancel
Save