about summary refs log tree commit diff
diff options
context:
space:
mode:
-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