branch | s11-update |
changeset 3021 | b9308977c65b |
parent 3020 | a14aae53a1c7 |
child 3023 | 90190872ae3e |
--- a/components/zsh/Completion/Solaris/Type/_zones Fri Mar 28 07:02:45 2014 -0700 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 @@ -1,13 +0,0 @@ -#autoload - -local -a type typearg -local zonelist - -zparseopts -D -E -a type t+: - -[[ -n $type[(r)c] ]] && typearg=-c -[[ -n $type[(r)i] ]] && typearg=-i - -zonelist=( ${="$(zoneadm list $typearg)"} ) - -compadd "$@" - $zonelist