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

Re: need help debugging cvs completion problem



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