Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Variable completion in pws-11
- X-seq: zsh-workers 5670
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: Variable completion in pws-11
- Date: Mon, 8 Mar 1999 09:18:16 +0100 (MET)
- In-reply-to: Vin Shelton's message of Sun, 07 Mar 1999 18:30:20 -0500
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Vin Shelton wrote:
> echo $ZSH<TAB> just beeps at me in pws-11. It did the right thing in pws-10 -
> it offered me the menu of ZSH_NAME or ZSH_VERSION.
>
> : ~ Sun 7 18:20; echo $ZSH<TAB>
> ^
> +---- This just beeps.
>
> BTW, both echo and print have the same behavior. This behavior occurs even
> with zsh -f.
Sorry, this was lost (with old-style completion) when adding the
`parameter' context for new style completion.
Bye
Sven
diff -u os/Zle/zle_tricky.c Src/Zle/zle_tricky.c
--- os/Zle/zle_tricky.c Mon Mar 8 09:06:41 1999
+++ Src/Zle/zle_tricky.c Mon Mar 8 09:16:20 1999
@@ -5315,7 +5315,7 @@
char *p, *os = s;
/* Inside $... ? */
- if ((p = check_param(s, 0)))
+ if (compfunc && (p = check_param(s, 0)))
os = s = p;
/* We build a copy of the list of matchers to use to make sure that this
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author