--- 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