Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: cvs completion does not support partial path completion
- X-seq: zsh-workers 14155
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: cvs completion does not support partial path completion
- Date: Mon, 30 Apr 2001 10:17:06 +0200 (MET DST)
- In-reply-to: <1010427175451.ZM27056@xxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
Bart Schaefer wrote:
> ...
>
> It's not that bad ... at this point:
>
> _cvs_modified_entries () {
> if _cvs_loadstat; then
> local expl match linedir realdir pat
> match=()
> : ${PREFIX:#(#b)(*/)(*)}
> linedir="$match[1]"
> realdir=${(e)~linedir}
>
> Instead of using ${(e)~linedir) to get the realdir, tack /CVS on the end
> and use _path_files to generate realdir, then lop off the CVS again and
> proceed.
>
> Of course "use _path_files to generate realdir" means editing _path_files
> to accept the `-A array' option and pass it through to compadd ... and
> fixing all the _cvs functions to handle an array of realdirs rather than
> a single one.
_path_files uses -A itself. This could get really messy.
So, as a incomplete, but simple solution I'd still favour sticking a
call to _files somewhere.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author