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

Re: segmentation fault in menu-select



Has this post been answered in other place?

At 5:40 PM +0400 08.5.13, sergio wrote:
>% cat .zshrc
>autoload -Uz compinit
>compinit
>zmodload zsh/complist

You must "zmodload zsh/complist" before compinit.
In zshcompsys manpage, section "Use of compinit", it says:

  If you  use  the
  menu-select  widget,  which  is  part  of  the zsh/complist module, you
  should make sure that that module is loaded before the call to compinit
  so  that  that  widget  is  also re-defined.

>i can't reproduce this bug in zsh -f mode.

Yes.
I don't know why it works if you start "zsh -f" and then "source .zshrc".



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