From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@sunsite.dk
Subject: Re: cvs completion does not support partial path completion
Date: Mon, 30 Apr 2001 10:17:06 +0200 (MET DST) [thread overview]
Message-ID: <200104300817.KAA02260@beta.informatik.hu-berlin.de> (raw)
In-Reply-To: <1010427175451.ZM27056@candle.brasslantern.com>
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@informatik.hu-berlin.de
next prev parent reply other threads:[~2001-04-30 8:17 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-26 14:05 Andrej Borsenkow
2001-04-27 12:20 ` Sven Wischnowsky
2001-04-27 13:08 ` Andrej Borsenkow
2001-04-27 13:22 ` Sven Wischnowsky
2001-04-27 17:54 ` Bart Schaefer
2001-04-30 8:17 ` Sven Wischnowsky [this message]
2001-04-30 16:56 ` Bart Schaefer
2001-05-01 9:39 ` Tanaka Akira
2001-05-04 5:16 ` PATCH: " Bart Schaefer
2001-05-04 16:26 ` Bart Schaefer
2001-05-07 7:58 ` Sven Wischnowsky
2001-05-07 14:52 ` Bart Schaefer
2001-05-08 8:45 ` Sven Wischnowsky
2001-05-04 16:39 ` Bart Schaefer
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200104300817.KAA02260@beta.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@sunsite.dk \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).