Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _bzr
- X-seq: zsh-workers 21703
- From: Clint Adams <clint@xxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: PATCH: _bzr
- Date: Tue, 6 Sep 2005 12:06:30 -0400
- Mail-followup-to: zsh-workers@xxxxxxxxxx
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Completion for bzr 0.0.7.
Index: Completion/Unix/Command/_bzr
===================================================================
RCS file: Completion/Unix/Command/_bzr
diff -N Completion/Unix/Command/_bzr
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ Completion/Unix/Command/_bzr 6 Sep 2005 16:05:45 -0000
@@ -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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author