components/zsh/Completion/Unix/Type/_zfs_dataset
branchs11-update
changeset 2892 0309f67d63d6
parent 904 114a5240af22
--- a/components/zsh/Completion/Unix/Type/_zfs_dataset	Fri Jan 10 12:44:12 2014 -0800
+++ b/components/zsh/Completion/Unix/Type/_zfs_dataset	Fri Jan 10 13:37:47 2014 -0800
@@ -14,6 +14,7 @@
 [[ -n $type[(r)fs] ]]    && typearg=( filesystem )
 [[ -n $type[(r)vol] ]]   && typearg=( $typearg volume )
 [[ -n $type[(r)snap] ]]  && typearg=( $typearg snapshot )
+[[ -n $type[(r)share] ]]  && typearg=( $typearg share )
 if [[ -n $typearg ]]; then
 	typearg=( -t ${(j:,:)typearg} )
 # We know we're in zfs list if paths_allowed is non-empty.
@@ -34,7 +35,7 @@
 	elif [[ -n $words[(r)-p] ]]; then
 		typearg=( -t filesystem,volume )
 	else
-		typearg=( -t filesystem,snapshot,volume )
+		typearg=( -t filesystem,share,snapshot,volume )
 	fi
 fi