zsh-workers
 help / color / mirror / code / Atom feed
b25a8ff22255f7b2af881c19f9be7658b34640a0 blob 407 bytes (raw)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
 
#autoload

local -a type be_names
local name uuid activate mtpt space policy created snap

zparseopts -D -E -a type t+:

beadm list -H | while IFS=\; read name uuid active mtpt space policy created; do
	be_names=( $be_names $name )
done

if [[ -n $type[(r)all] ]]; then
	beadm list -sH | while IFS=\; read name snap space policy created; do
		be_names=( $be_names $snap )
	done
fi

compadd "$@" - $be_names
debug log:

solving b25a8ff ...
found b25a8ff in https://git.vuxu.org/mirror/zsh/

Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).