Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: _read_comp widget broken by 'setopt nounset'
- X-seq: zsh-workers 26861
- From: Greg Klanderman <gak@xxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxx
- Subject: Re: PATCH: _read_comp widget broken by 'setopt nounset'
- Date: Tue, 21 Apr 2009 11:49:11 -0400
- In-reply-to: <18831.51704.292282.667241@xxxxxxxxxxxxxxxxxx> (Greg Klanderman's message of "Mon, 9 Feb 2009 01:15:20 -0500")
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
- References: <18831.51704.292282.667241@xxxxxxxxxxxxxxxxxx>
- Reply-to: gak@xxxxxxxxxxxxxx
Hi, I submitted this back in February, but it has not been applied or
commented on. Could someone take a look please?
thanks,
greg
>>>>> Greg Klanderman <gak@xxxxxxxxxxxxxx> writes:
> [~] 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author