[darcs-devel] [issue1301] remove zsh completion scripts

Nicolas Pouillard nicolas.pouillard at gmail.com
Mon Jan 5 08:46:57 UTC 2009


Excerpts from Trent Buck's message of Mon Jan 05 00:03:03 UTC 2009:
> 
> New submission from Trent Buck <trentbuck at gmail.com>:
> 
> twb> For example, the zsh completion code is (according to #zsh)
> twb> obsolete, having been more actively maintained with the zsh
> twb> repository (which is apparently the norm for zsh completion
> twb> scripts, unlike bash).
> 
> kowey> Sounds like we should just remove it altogether then.
> 
> Confirm that I'm not crazy, then remove the zsh completion scripts.

I do not agree, the completion script maintained by zsh does not even use
--list-options and --commands options, so commands and options are heavily
duplicated which leads to fragile and hard to maintain code.

However the situation of scripts in tools (zsh_completion_{new,old}) is not
perfect either, the zsh_completion_new one is close to the one maintained
by the Zsh group, so same issue there.

I would like to propose mine, that is a simple and short adaptation that
works fine one current Zsh's versions and use --commands and --list-options
to stay version agnostic.

All the best,

-- 
Nicolas Pouillard
-------------- next part --------------
A non-text attachment was scrubbed...
Name: _darcs.zsh
Type: application/octet-stream
Size: 613 bytes
Desc: not available
Url : http://lists.osuosl.org/pipermail/darcs-devel/attachments/20090105/2558f9ed/attachment.obj 


More information about the darcs-devel mailing list