diff options
-rw-r--r-- | shells/zsh/Makefile | 2 | ||||
-rw-r--r-- | shells/zsh/files/patch-Completion-BSD-Command-_zfs | 2 |
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:' + ;; |