summaryrefslogtreecommitdiff
path: root/shells/zsh/files/patch-Completion-BSD-Command-_zfs
diff options
context:
space:
mode:
Diffstat (limited to 'shells/zsh/files/patch-Completion-BSD-Command-_zfs')
-rw-r--r--shells/zsh/files/patch-Completion-BSD-Command-_zfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/shells/zsh/files/patch-Completion-BSD-Command-_zfs b/shells/zsh/files/patch-Completion-BSD-Command-_zfs
index 3bc0d32b9ea4..746ffaa713cf 100644
--- a/shells/zsh/files/patch-Completion-BSD-Command-_zfs
+++ b/shells/zsh/files/patch-Completion-BSD-Command-_zfs
@@ -100,9 +100,9 @@
+ ;;
+
+ ("clone")
++ # XXX needs to bail if there are no snapshots
+ _arguments -A "-*" \
+ '-p[Create parent datasets]' \
-+ # XXX needs to bail if there are no snapshots
+ ':snapshot:_zfs_dataset -t snap' \
+ ':filesystem/volume:'
+ ;;