From: Sven Wischnowsky <wischnow@informatik.hu-berlin.de>
To: zsh-workers@math.gatech.edu
Subject: Re: Directory completion and Initial path completion option
Date: Wed, 17 Sep 97 14:58 MET DST [thread overview]
Message-ID: <m0xBJgb-00013EC@worf.informatik.hu-berlin.de> (raw)
In-Reply-To: Peter Stephenson's message of Mon, 15 Sep 1997 17:41:24 +0200
Peter Stephenson wrote:
*** Src/Zle/zle_tricky.c.dir Mon Sep 15 16:57:36 1997
--- Src/Zle/zle_tricky.c Mon Sep 15 17:27:39 1997
***************
*** 2635,2641 ****
prpre = pp;
}
}
! }
/* The compctl has a glob pattern (compctl -g). */
if (cc->glob) {
int ns, pl = strlen(prpre), o;
--- 2635,2642 ----
prpre = pp;
}
}
! } else if (cc->mask && CC_DIRS)
! gen_matches_files(1, 0, 0);
/* The compctl has a glob pattern (compctl -g). */
if (cc->glob) {
int ns, pl = strlen(prpre), o;
That should be `cc-mask & CC_DIRS'.
^^^
And:
*** Src/Zle/compctl.c.withd Mon Sep 15 18:30:40 1997
--- Src/Zle/compctl.c Tue Sep 16 16:27:08 1997
***************
*** 280,285 ****
--- 280,298 ----
*argv = "" - 1;
}
break;
+ case 'W':
+ if ((*argv)[1]) {
+ cct.withd = (*argv) + 1;
+ *argv = "" - 1;
+ } else if (!argv[1]) {
+ zwarnnam(name, "command string expected after -%c", NULL,
+ **argv);
+ return 1;
+ } else {
+ cct.withd = *++argv;
+ *argv = "" - 1;
+ }
+ break;
case 'H':
if ((*argv)[1])
cct.hnum = atoi((*argv) + 1);
here we probably should use "path expected after -%c".
^^^^
Bye
Sven
--
Sven Wischnowsky wischnow@informatik.hu-berlin.de
next reply other threads:[~1997-09-17 13:10 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1997-09-17 12:58 Sven Wischnowsky [this message]
1997-09-17 13:09 ` Peter Stephenson
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=m0xBJgb-00013EC@worf.informatik.hu-berlin.de \
--to=wischnow@informatik.hu-berlin.de \
--cc=zsh-workers@math.gatech.edu \
/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).