blob: 4b80c65f255bc093d4ce15d982396f5ef0f2729f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
#autoload
local -a type be_names expl
zparseopts -D -E -a type t+:
be_names=( ${${(f)"$(_call_program boot-environs beadm list -H)"}%%;*} )
[[ -n $type[(r)all] ]] &&
be_names+=( ${${${(f)"$(_call_program boot-environs beadm list -sH)"}#*;}%%;*} )
_description boot-environs expl 'boot environment'
compadd "$@" "$expl[@]" -a be_names
|