54276: fix to add full list of compression algorithms as completion matches for zfs

This commit is contained in:
Oliver Kiddle
2026-04-05 11:29:28 +02:00
parent 8a56d87ab1
commit c8923e69da
2 changed files with 12 additions and 4 deletions

View File

@@ -1,3 +1,8 @@
2026-04-05 Oliver Kiddle <opk@zsh.org>
* 54276: Completion/Unix/Command/_zfs: fix to add full list
of compression algorithms as completion matches
2026-04-03 Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp>
* Eisuke Kawashima: github #163: Completion/Unix/Command/_ssh:
@@ -87,6 +92,9 @@
2025-12-16 Oliver Kiddle <opk@zsh.org>
* Christopher Bock: 54150: Completion/Debian/Command/_dpkg:
the option --license was removed in 2010
* Christopher Bock: 54148: Completion/Debian/Command/_apt:
use same set of options for apt as with apt-get

View File

@@ -65,10 +65,10 @@ rw_ds_props=(
'aclinherit:value:(discard noallow restricted passthrough passthrough-x)'
'atime:value:(on off)'
'canmount:value:(on off noauto)'
"checksum:value:($sum_algorithms)"
"compression:value:($comp_algorithms)"
'checksum:value:($sum_algorithms)'
'compression:value:($comp_algorithms)'
'copies:value:(1 2 3)'
"dedup:value:($dedup_algorithms)"
'dedup:value:($dedup_algorithms)'
'devices:value:(on off)'
'encryption:value:(off on aes128-ccm aes-192-ccm aes-256-ccm aes-128-gcm aes-192-gcm aes-256-gcm)'
'exec:value:(on off)'
@@ -1416,7 +1416,7 @@ while (( $#state )); do
case $MATCH in
*feature@) _wanted states expl state compadd active enabled disabled ;;
*quota@) _alternative \
'sizes: :_numbers -M "m\:{a-zA-Z}={A-Za-z}" -u bytes size \:B {k,M,G,T,P,E,Z}{,B}' \
'sizes: :_numbers -M "m:{a-zA-Z}={A-Za-z}" -u bytes size :B {k,M,G,T,P,E,Z}{,B}' \
'properties:property:(none)'
;;
esac