zsh-workers
 help / color / mirror / code / Atom feed
* PATCH: _read_comp widget broken by 'setopt nounset'
@ 2009-02-09  6:15 Greg Klanderman
  2009-04-21 15:49 ` Greg Klanderman
  0 siblings, 1 reply; 4+ messages in thread
From: Greg Klanderman @ 2009-02-09  6:15 UTC (permalink / raw)
  To: Zsh list


[~] 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


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2009-04-21 16:26 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-02-09  6:15 PATCH: _read_comp widget broken by 'setopt nounset' Greg Klanderman
2009-04-21 15:49 ` Greg Klanderman
2009-04-21 16:01   ` Peter Stephenson
2009-04-21 16:25     ` Greg Klanderman

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).