bzr zsh expansion

Wayne Davison wayned at samba.org
Tue Mar 28 18:59:35 BST 2006


On Wed, Mar 29, 2006 at 01:46:09AM +1100, Martin Pool wrote:
> The bzr zsh expansion module doesn't seem very useful at the moment - I
> think it tries to complete commands but breaks filename expansion, which
> is a poor tradeoff.  If this is true in the dapper packages could you
> please disable it?

The zsh package in dapper (as opposed to the zsh-beta package) is
missing the fix from CVS that adds the _files completion for normal
files.  The change is very simple, and would be a better fix than
removing bzr completion altogether (IMO).

..wayne..
-------------- next part --------------
--- _bzr	6 Sep 2005 16:08:29 -0000	1.1
+++ _bzr	25 Nov 2005 15:17:19 -0000	1.2.2.2
@@ -7,5 +7,7 @@ _bzr_subcommands=(${(f)"$(_call_program 
 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


More information about the bazaar mailing list