1 alias pc="sudo port clean --all installed"
2 alias pi="sudo port install"
3 alias pli="port livecheck installed"
4 alias plm="port-livecheck-maintainer"
5 alias psu="sudo port selfupdate"
6 alias puni="sudo port uninstall inactive"
7 alias puo="sudo port upgrade outdated"
8 alias pup="sudo port selfupdate && sudo port upgrade outdated"
10 port-livecheck-maintainer() {
11 (( ${+commands[port]} == 0 )) || {
12 print -- "port: not found" >&2
17 zparseopts -D -E h=help_flag -help=help_flag
19 (( ${#help_flag} )) && {
22 port-livecheck-maintainer
23 port-livecheck-maintainer (maintainer)+
24 port-livecheck-maintainer -h|--help
29 maintainer maintainer id
30 -h print this help message and exit
35 if (( $# == 0 )); then
36 local default=${MACPORTS_MAINTAINER:-${USER}}
37 port livecheck maintainer:${default}
42 port livecheck maintainer:${i}