Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: Variable completion in pws-11



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