From: Zefram <A.Main@dcs.warwick.ac.uk>
To: zsh-workers@math.gatech.edu (Z Shell workers mailing list)
Subject: compctl patch (second attempt)
Date: Fri, 21 Jul 1995 23:34:19 +0100 (BST) [thread overview]
Message-ID: <12322.199507212234@stone.dcs.warwick.ac.uk> (raw)
-----BEGIN PGP SIGNED MESSAGE-----
I think this patch got mangled when I sent it before. I am therefore
resending it. This patch removes the restriction against using the
compctl -P and -S options in xor'ed completions. This change doesn't
seem to cause any problems.
-zefram
Index: Src/builtin.c
***************
*** 1849,1859 ****
}
break;
case 'P':
- if (hx) {
- zerrnam(name, "no prefix allowed in xor'd (+) completion",
- NULL, 0);
- return 1;
- }
if ((*argv)[1]) {
cct.prefix = (*argv) + 1;
*argv = "" - 1;
--- 1849,1854 ----
***************
*** 1866,1876 ****
}
break;
case 'S':
- if (hx) {
- zerrnam(name, "no suffix allowed in xor'd (+) completion",
- NULL, 0);
- return 1;
- }
if ((*argv)[1]) {
cct.suffix = (*argv) + 1;
*argv = "" - 1;
--- 1861,1866 ----
-----BEGIN PGP SIGNATURE-----
Version: 2.6.i
iQBVAgUBMBArUGWJ8JfKi+e9AQG7JAIAiOl9fAvC73cVpy541bjd3EOHdeIY6icR
PiXmTZ1QlggZvnsKyKTu0avL9AlvUCZiaUazsiHqWinAnpkwfkOnKw==
=5GcA
-----END PGP SIGNATURE-----
reply other threads:[~1995-07-22 3:14 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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=12322.199507212234@stone.dcs.warwick.ac.uk \
--to=a.main@dcs.warwick.ac.uk \
--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).