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

Re: Completion strangeness



Bart Schaefer wrote:
> On May 17,  4:53pm, Kyle Rose wrote:
> } Subject: Completion strangeness
> }
> } This relates to zsh 4.2.5's ssh command line completion.  I don't know
> } if this problem exists in earlier versions.
> 
> Unless I'm mistaken, this is yet another symptom of an old, old problem.
> 
> See zsh-workers/16598 and its thread, and search for 16598 in the years
> 2004 and 2005 using http://www.zsh.org/cgi-bin/mla/wilma/workers
> 

FWIW, I tried this patch:

diff -r1.1 _combination
91c91,93
<   compadd "$@" -a tmp || { (( $+functions[_$key] )) && "_$key" "$@" }
---
>   local expl
>   _wanted $key expl $key  compadd "$@" -a tmp ||
>       { (( $+functions[_$key] )) && "_$key" "$@" }

and it does *not* change the behavior I'm seeing.  I checked functions
to make sure the updated version was cached. :P

Kyle



Messages sorted by: Reverse Date, Date, Thread, Author