about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2005-09-06 16:08:29 +0000
committerClint Adams <clint@users.sourceforge.net>2005-09-06 16:08:29 +0000
commitcb7cac776ca63d88a0c5c49157a463e165bda8b1 (patch)
tree63934b31647954e1ea7c5115b32268c086acf484
parentf2d873d8114561c4c8658659408d9cecfe60a0fc (diff)
downloadzsh-cb7cac776ca63d88a0c5c49157a463e165bda8b1.tar.gz
zsh-cb7cac776ca63d88a0c5c49157a463e165bda8b1.tar.xz
zsh-cb7cac776ca63d88a0c5c49157a463e165bda8b1.zip
21703: completion for bzr 0.0.7.
-rw-r--r--ChangeLog4
-rw-r--r--Completion/Unix/Command/_bzr11
2 files changed, 15 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index e2f42c912..6d496548c 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2005-09-06  Clint Adams  <clint@zsh.org>
+
+	* 21703: Completion/Unix/Command/_bzr: completion for bzr 0.0.7.
+
 2005-09-06  Peter Stephenson  <pws@csr.com>
 
 	* 21701: Src/params.c, Test/D06subscript.ztst: negative offsets
diff --git a/Completion/Unix/Command/_bzr b/Completion/Unix/Command/_bzr
new file mode 100644
index 000000000..4da09352b
--- /dev/null
+++ b/Completion/Unix/Command/_bzr
@@ -0,0 +1,11 @@
+#compdef bzr
+
+local _bzr_subcommands expl curcontext="$curcontext"
+
+_bzr_subcommands=(${(f)"$(_call_program bzr bzr shell-complete)"})
+
+if (( CURRENT == 2 )); then
+  _describe -t subcommand 'subcommand' _bzr_subcommands
+else
+# this part missing
+fi