aboutsummaryrefslogtreecommitdiffstats
path: root/shells
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2008-08-27 23:50:30 +0800
committerdes <des@FreeBSD.org>2008-08-27 23:50:30 +0800
commit016f08837f77d3259436a46a3484e4bed2757785 (patch)
tree8e80990be15b1656fee977b04e0234ed5799e1cc /shells
parentfc61190a11094bafd3daf04206a7d0c35423312e (diff)
downloadfreebsd-ports-gnome-016f08837f77d3259436a46a3484e4bed2757785.tar.gz
freebsd-ports-gnome-016f08837f77d3259436a46a3484e4bed2757785.tar.zst
freebsd-ports-gnome-016f08837f77d3259436a46a3484e4bed2757785.zip
Move a comment that broke completion for 'zfs clone'.
Diffstat (limited to 'shells')
-rw-r--r--shells/zsh/Makefile2
-rw-r--r--shells/zsh/files/patch-Completion-BSD-Command-_zfs2
2 files changed, 2 insertions, 2 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index b78f2e34bb5e..3d59d3d0e643 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -22,7 +22,7 @@
PORTNAME= zsh
PORTVERSION= 4.3.6
-PORTREVISION= 6
+PORTREVISION= 7
CATEGORIES= shells
MASTER_SITES= SF
.if !defined(NOPORTDOCS)
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:'
+ ;;