Dont run if not on darwin
prepend /opt/local/{bin,sbin} to the path
This commit is contained in:
parent
c20f63d758
commit
2369c5c792
1 changed files with 8 additions and 0 deletions
|
@ -5,6 +5,10 @@
|
|||
# Matt Cable <wozz@wookie.net>
|
||||
#
|
||||
|
||||
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
|
||||
)
|
||||
|
|
Loading…
Add table
Reference in a new issue