From: Greg Klanderman <gak@klanderman.net>
To: Zsh list <zsh-workers@sunsite.dk>
Subject: PATCH: _read_comp widget broken by 'setopt nounset'
Date: Mon, 9 Feb 2009 01:15:20 -0500 [thread overview]
Message-ID: <18831.51704.292282.667241@gargle.gargle.HOWL> (raw)
[~] phl| zsh -f
phl%
phl% autoload compinit
phl% compinit
phl% setopt nounset
phl% <C-x C-r>
_read_comp:29: _read_comp: parameter not set
phl%
Index: Completion/Base/Widget/_read_comp
===================================================================
RCS file: /cvsroot/zsh/zsh/Completion/Base/Widget/_read_comp,v
retrieving revision 1.1
diff -u -r1.1 _read_comp
--- Completion/Base/Widget/_read_comp 2 Apr 2001 11:17:07 -0000 1.1
+++ Completion/Base/Widget/_read_comp 9 Feb 2009 06:12:22 -0000
@@ -23,7 +23,7 @@
# _read_comp Last completion string read from user
# emulate -L zsh
-setopt localoptions extendedglob nobadpattern # xtrace promptsubst
+setopt localoptions extendedglob nobadpattern unset # xtrace promptsubst
# local PS4='%N:%i:$((#key))> '
if [[ ${+NUMERIC} = 0 && -n $_read_comp ]]; then
next reply other threads:[~2009-02-09 6:15 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-02-09 6:15 Greg Klanderman [this message]
2009-04-21 15:49 ` Greg Klanderman
2009-04-21 16:01 ` Peter Stephenson
2009-04-21 16:25 ` Greg Klanderman
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=18831.51704.292282.667241@gargle.gargle.HOWL \
--to=gak@klanderman.net \
--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).