Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: bindkey bug with zsh-3.1.6-dev-21?
- X-seq: zsh-workers 10826
- From: Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx (Zsh hackers list)
- Subject: Re: bindkey bug with zsh-3.1.6-dev-21?
- Date: Wed, 19 Apr 2000 10:39:51 +0100
- In-reply-to: "Your message of Wed, 19 Apr 2000 11:26:30 +0200." <200004190926.LAA21931@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
> 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. 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.
--
Peter Stephenson <pws@xxxxxxxxxxxxxxxxxxxxxxxxx>
Cambridge Silicon Radio, Unit 300, Science Park, Milton Road,
Cambridge, CB4 0XL, UK Tel: +44 (0)1223 392070
Messages sorted by:
Reverse Date,
Date,
Thread,
Author