Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
insert-tab default
- X-seq: zsh-workers 15652
 
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
 
- To: zsh-workers@xxxxxxxxxx
 
- Subject: insert-tab default
 
- Date: Fri, 17 Aug 2001 11:48:34 +0200
 
- In-reply-to: <2837.998039990@xxxxxxx>
 
- Mailing-list: contact zsh-workers-help@xxxxxxxxxx; run by ezmlm
 
- References: <2837.998039990@xxxxxxx>
 
Peter Stephenson wrote:
>   insert-tab
>   
>        The default value of this style is `true' unless when completing
>        inside the vared builtin command, where it defaults to `false'.
> 
> This appears to be `untrue'.  You need to set it to use it.  I don't know
> which is right.  It seems to work if I redefine complete-word as a trivial
> widget which runs zle .complete-word.
Oops.  That's from:
  zstyle -s ":completion:${curcontext}:" insert-tab tmp || tmp=no
in _main_complete.  Should we change the code or the docs?
> By the way, I was having some problem with another apparently trivial
> widget, expand-or-complete() { zle .expand-or-complete; }, which frequently
> made the shell crash.  Unfortunately, it doesn't do this with the default
> settings and I haven't traced what was doing it.
Hm, can't reproduce that.  Will keep trying...
Bye
  Sven
P.S.: longest=( ${(M)array:#${~${(O@)array//?/?}[1]}} )
-- 
Sven Wischnowsky                    wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author