Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: PATCH: _bzr



> If you are going to leave a part missing like that, it probably makes
> sense to complete files there. Unless bzr never takes filenames as an
> argument. Breaking filename completion is really quite bad because it
> can put users off compsys completely.

Done, with clarification.

Index: Completion/Unix/Command/_bzr
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Unix/Command/_bzr,v
retrieving revision 1.1
diff -u -r1.1 _bzr
--- Completion/Unix/Command/_bzr	6 Sep 2005 16:08:29 -0000	1.1
+++ Completion/Unix/Command/_bzr	9 Sep 2005 13:47:52 -0000
@@ -7,5 +7,7 @@
 if (( CURRENT == 2 )); then
   _describe -t subcommand 'subcommand' _bzr_subcommands
 else
-# this part missing
+# this part should call bzr shell-complete <subcmd> when
+# it has been tweaked properly
+  _files
 fi



Messages sorted by: Reverse Date, Date, Thread, Author