Ticket #11983: _port.diff
File _port.diff, 429 bytes (added by n.oxyde@…, 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 | awk '{print $1}')) 9 9 fi 10 10 11 11 subcmds=( … … 37 37 'rpmpackage' 38 38 'archive' 39 39 'unarchive' 40 'livecheck' 40 41 ) 41 42 42 43 _arguments -C \