Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Using CVS Completion Functions
- X-seq: zsh-users 11674
- From: Peter Stephenson <pws@xxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: Using CVS Completion Functions
- Date: Wed, 25 Jul 2007 17:29:55 +0100
- Cc: zsh-users@xxxxxxxxxx
- In-reply-to: <070725092234.ZM5767@xxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxxxxx; run by ezmlm
- References: <20070725135652.GA3921@xxxxxxxxxxxxxxxxxx> <200707251610.l6PGAjhH024852@xxxxxxxxxxxxxx> <070725092234.ZM5767@xxxxxxxxxxxxxxxxxxxxxx>
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