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

Re: bindkey bug with zsh-3.1.6-dev-21?



Peter Stephenson wrote:

> > Hm, maybe a test of the form
> > 
> >   if (load(zle) || !loaded(complete)) load(compctl);
> > 
> > There's find_module() for that kind of test.
> > 
> > Does that sound sensible?
> 
> Looks worth trying --- assuming (which I haven't checked) that something in
> compinit loads complete, this is about the best you can do. 

`zle -C' load zsh/complete.

> The only other
> possibilitity I can see is to delay loading old completion until zle
> actually starts up --- then if there's no new completion, it's safe to
> assume old completion is required.  That might be quite sensible if it's
> easy to implement.

Sounds good too...

I've no time to hack now...

Bye
 Sven


--
Sven Wischnowsky                         wischnow@xxxxxxxxxxxxxxxxxxxxxxx



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