From: Bart Schaefer <schaefer@brasslantern.com>
To: zsh-workers@sunsite.dk, Hannu Koivisto <azure@iki.fi>
Subject: PATCH: Re: Superfluous CRs trouble completion routines in Cygwin
Date: Sun, 16 Oct 2005 00:22:52 +0000 [thread overview]
Message-ID: <1051016002252.ZM23495@candle.brasslantern.com> (raw)
In-Reply-To: <1051015180240.ZM22900@candle.brasslantern.com>
[Redirected from -users to -workers]
On Oct 15, 6:02pm, Bart Schaefer wrote:
}
} I think the answer is that $_comp_setup in compinit should contain
}
} local IFS=$'\r'"$IFS"
Upon further thought I believe it should instead set IFS to exactly
the expected string, rather than pulling in the IFS setting from the
surrounding environment.
Hence:
Index: Completion/compinit
===================================================================
diff -c -r1.9 compinit
--- Completion/compinit 24 Sep 2005 17:48:33 -0000 1.9
+++ Completion/compinit 16 Oct 2005 00:14:11 -0000
@@ -156,6 +156,7 @@
# and don't get confused by user's ZERR trap handlers.
_comp_setup='setopt localoptions localtraps ${_comp_options[@]};
+ local IFS=$'\'\ \\t\\r\\n\\0\''
exec </dev/null;
trap - ZERR'
next parent reply other threads:[~2005-10-16 7:53 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <87irvzys44.fsf@trews52.bothi.fi>
[not found] ` <1051015180240.ZM22900@candle.brasslantern.com>
2005-10-16 0:22 ` Bart Schaefer [this message]
2005-10-17 9:29 ` Peter Stephenson
2005-10-20 12:48 ` Hannu Koivisto
2005-10-20 14:51 ` Bart Schaefer
2005-10-21 11:39 ` Hannu Koivisto
2005-10-21 15:45 ` Bart Schaefer
2005-10-21 16:18 ` Peter Stephenson
2005-10-23 17:33 ` Peter A. Castro
2005-10-23 19:11 ` Bart Schaefer
2005-10-24 4:34 ` Peter A. Castro
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=1051016002252.ZM23495@candle.brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=azure@iki.fi \
--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).