Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: zsh/complist and compinit
- X-seq: zsh-workers 9507
- From: Sven Wischnowsky <wischnow@xxxxxxxxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxxxxxxxxx
- Subject: Re: zsh/complist and compinit
- Date: Tue, 1 Feb 2000 15:48:41 +0100 (MET)
- In-reply-to: Alexandre Duret-Lutz's message of 01 Feb 2000 15:29:32 +0100
- Mailing-list: contact zsh-workers-help@xxxxxxxxxxxxxx; run by ezmlm
Alexandre Duret-Lutz wrote:
> A small question about menu completion:
>
> This will work:
>
> phobos% zmodload zsh/complist
> phobos% autoload -U compinit
> phobos% compinit
> phobos% bindkey m menu-select
> phobos% echo /<M-m>
>
> while this won't:
>
> phobos% autoload -U compinit
> phobos% compinit
> phobos% zmodload zsh/complist
> phobos% bindkey m menu-select
> phobos% echo /<M-m>
>
> Does the order of compinit and complist really matters?
Yes. compinit can override the definition for the menu-select widget
only if the complist module is already loaded. We can't do that in
advance.
Of course you can add the `zle -C menu-select .menu-select _main_complete'
by hand, but maybe we should document that somewhere.
Bye
Sven
--
Sven Wischnowsky wischnow@xxxxxxxxxxxxxxxxxxxxxxx
Messages sorted by:
Reverse Date,
Date,
Thread,
Author