1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-11-16 22:21:12 +00:00
prezto/modules/macports/init.zsh

41 lines
722 B
Bash
Raw Normal View History

2012-02-01 04:37:51 +00:00
#
# Defines MacPorts aliases.
#
# Authors:
# Matt Cable <wozz@wookie.net>
#
2012-06-02 18:18:36 +00:00
# This module is for Mac OS X only.
if [[ "$OSTYPE" != darwin* ]]; then
return 1
fi
2012-06-02 18:19:33 +00:00
# Paths
# Set the list of directories that info searches for manuals.
infopath=(
/opt/local/share/info
$infopath
)
# Set the list of directories that man searches for manuals.
manpath=(
/opt/local/share/man
$manpath
)
# Set the list of directories that Zsh searches for programs.
path=(
/opt/local/{bin,sbin}
$path
)
2011-08-31 03:16:15 +00:00
# Aliases
alias pc="sudo port clean --all installed"
alias pi="sudo port install $1"
alias psu="sudo port selfupdate"
alias puni="sudo port uninstall inactive"
alias puo="sudo port upgrade outdated"
alias pup="psu && puo"
2011-03-13 22:08:12 +00:00