This repository has been archived on 2022-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
prezto/modules/macports/init.zsh

35 lines
666 B
Bash
Raw Permalink Normal View History

2012-01-31 23:37:51 -05:00
#
2012-06-12 16:15:59 -04:00
# Defines MacPorts aliases and adds MacPorts directories to path variables.
2012-01-31 23:37:51 -05:00
#
# Authors:
# Matt Cable <wozz@wookie.net>
2012-06-12 16:15:59 -04:00
# Sorin Ionescu <sorin.ionescu@gmail.com>
2012-01-31 23:37:51 -05:00
#
2012-07-23 15:00:44 -04:00
# Return if requirements are not found.
2012-06-02 14:18:36 -04:00
if [[ "$OSTYPE" != darwin* ]]; then
return 1
fi
2012-08-04 14:48:32 -04:00
#
2012-06-02 14:19:33 -04:00
# Paths
2012-08-04 14:48:32 -04:00
#
2012-06-02 14:19:33 -04:00
# Set the list of directories that Zsh searches for programs.
path=(
/opt/local/{bin,sbin}
$path
)
2012-08-04 14:48:32 -04:00
#
2011-08-30 23:16:15 -04:00
# Aliases
2012-08-04 14:48:32 -04:00
#
2012-06-12 16:15:59 -04:00
alias portc='sudo port clean --all installed'
alias porti='sudo port install'
alias ports='port search'
alias portU='sudo port selfupdate && sudo port upgrade outdated'
alias portu='sudo port upgrade'
alias portX='sudo port -u uninstall'
alias portx='sudo port uninstall'