Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: need help debugging cvs completion problem
- X-seq: zsh-workers 27062
- From: Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
- To: Zsh list <zsh-workers@xxxxxxxxxx>
- Subject: Re: need help debugging cvs completion problem
- Date: Sat, 27 Jun 2009 21:24:18 +0100
- In-reply-to: <19013.18790.978774.551126@xxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <19013.18790.978774.551126@xxxxxxxxxxxxxxxxxx>
On Fri, 26 Jun 2009 18:19:18 -0400
Greg Klanderman <gak@xxxxxxxxxxxxxx> wrote:
> The ztrftime patch I just sent fixes one problem with cvs completion,
> in the _cvs_modified_entries function (used by 'cvs diff' completions),
> but there appears to be another problem in _cvs_existing_entries (used
> by 'cvs annotate' completions, for example). The variable 'pat' is
> being populated with the correct set of completions, however, the
> final line:
>
> (( ${#pat} )) && _wanted files expl file _path_files -a pat
>
> then results in all files (even those not under CVS control) being
> considered for completion.
It looks to me like that should probably be "compadd" rather than
"_path_files".
--
Peter Stephenson <p.w.stephenson@xxxxxxxxxxxx>
Web page now at http://homepage.ntlworld.com/p.w.stephenson/
Messages sorted by:
Reverse Date,
Date,
Thread,
Author