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

Re: Using CVS Completion Functions

Bart Schaefer wrote:
> On Jul 25,  5:10pm, Peter Stephenson wrote:
> }
> } Defining multiple functions in the same body is convenient but
> } annoyingly limited... there's the additional problem of whether or not
> } you want to override any existing definition, as witness all the tests
> } like (( $+functions[_cvs_path_prefixes] )).  It would be nice to have
> } some mechanism like library files which told the shell to search for
> } undefined functions in there.
> Er, isn't that what zcompile is for?

You mean digest files, I suppose.  That doesn't provide the sort of
source-level library I was thinking of, but maybe with some trickery
using compdef it could be made to work.  It sounds a bit messy and I
haven't thought it through.

Peter Stephenson <pws@xxxxxxx>                  Software Engineer
CSR PLC, Churchill House, Cambridge Business Park, Cowley Road
Cambridge, CB4 0WZ, UK                          Tel: +44 (0)1223 692070


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