Ticket #11494: _port.diff
File _port.diff, 1.1 KB (added by ehainry@…, 18 years ago) |
---|
-
_port
old new 5 5 # we cache the list of ports 6 6 # we shall use some cache policy to avoid problems with new ports 7 7 if (( ! $+portlist )); then 8 portlist=($(port list | cut -f 1 ))8 portlist=($(port list | cut -f 1 -d ' '; echo 'all current active inactive installed uninstalled outdated')) 9 9 fi 10 10 11 11 subcmds=( 12 'install'13 'uninstall'14 'installed'15 'outdated'16 'upgrade'17 'deactivate'18 12 'activate' 13 'archive' 14 'build' 15 'cat' 19 16 'clean' 20 'distclean' 21 'search' 22 'list' 17 'configure' 23 18 'contents' 19 'deactivate' 20 'dependents' 24 21 'deps' 25 'variants' 26 'info' 27 'fetch' 22 'destroot' 23 'dir' 24 'distcheck' 25 'distclean' 26 'dmg' 27 'echo' 28 'edit' 28 29 'extract' 30 'fetch' 31 'file' 32 'help' 33 'info' 34 'install' 35 'installed' 36 'list' 37 'livecheck' 38 'location' 39 'mpkg' 40 'outdated' 29 41 'patch' 30 'configure'31 'build'32 'destroot'33 'test'34 42 'pkg' 35 'mpkg' 36 'dmg' 43 'provides' 37 44 'rpmpackage' 38 'archive' 45 'search' 46 'selfupdate' 47 'sync' 48 'test' 39 49 'unarchive' 50 'uninstall' 51 'upgrade' 52 'variants' 53 'version' 40 54 ) 41 55 42 56 _arguments -C \