From ef2eaf1f787370356159bfb402a057d88b934ceb Mon Sep 17 00:00:00 2001 From: Danek Duvall Date: Thu, 2 Jan 2014 11:52:24 -0800 Subject: 32261: completion updates for Solaris 11, Update 1 --- Completion/Unix/Type/_zfs_dataset | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Completion/Unix/Type') diff --git a/Completion/Unix/Type/_zfs_dataset b/Completion/Unix/Type/_zfs_dataset index d862011ac..64e343f3a 100644 --- a/Completion/Unix/Type/_zfs_dataset +++ b/Completion/Unix/Type/_zfs_dataset @@ -14,6 +14,7 @@ zparseopts -D -E e:=expl_type_arr p=paths_allowed r1=rsrc r2=rdst t+:=type [[ -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 @@ if [[ ${#rsrc} -gt 0 ]]; then elif [[ -n $words[(r)-p] ]]; then typearg=( -t filesystem,volume ) else - typearg=( -t filesystem,snapshot,volume ) + typearg=( -t filesystem,share,snapshot,volume ) fi fi -- cgit 1.4.1