mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-10-28 05:00:59 +01:00
44279: completion updates for Dragonfly 5.4, FreeBSD 12 and OpenBSD 6.5
This commit is contained in:
parent
ffacb17886
commit
09c6acf7b2
21 changed files with 112 additions and 59 deletions
|
|
@ -14,7 +14,7 @@ _zpool() {
|
|||
)
|
||||
|
||||
if [[ $implementation = openzfs ]] && [[ $OSTYPE != solaris* ]]; then
|
||||
subcmds+=(labelclear)
|
||||
subcmds+=( labelclear initialize )
|
||||
fi
|
||||
|
||||
versions=(
|
||||
|
|
@ -158,6 +158,14 @@ _zpool() {
|
|||
'::pool name:_zfs_pool'
|
||||
;;
|
||||
|
||||
(initialize)
|
||||
_arguments -A "-*" \
|
||||
'(-c --cancel)'{-c,--cancel}'[cancel initializing on specified devices]' \
|
||||
'(-s --suspend)'{-s,--suspend}'[suspend initializing on specified devices]' \
|
||||
':pool name:_zfs_pool' \
|
||||
'*:device:_files'
|
||||
;;
|
||||
|
||||
(iostat)
|
||||
_arguments -A "-*" \
|
||||
'-l[Display configuration in /dev/chassis location form]' \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue