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

Still problems RE: PATCH: RE: side effect of "select=long"



> though, sorry. The incantation is, of course:
>
>   zstyle ':completion:*' menu 'select=0' 'select=long-list'
>

It does not work if I set it this way initially. See:

bor@itsrm2% zsh -f
itsrm2% autoload -U compinit; compinit -D
itsrm2% bindkey -e
itsrm2% zmodload complist
itsrm2% zstyle ':completion:*' menu 'select=0' 'select=long-list'

Try anything simple like 'ls TAB TAB' - NO menu selection whatever, just
menu completion. But if you instead do:

bor@itsrm2% zsh -f
itsrm2% autoload -U compinit; compinit -D
itsrm2% bindkey -e
itsrm2% zmodload complist
itsrm2% zstyle ':completion:*' menu 'select=0'
==Step 1== Now, again, try completion - menu selection IS started
itsrm2% zstyle ':completion:*' menu 'select=0' 'select=long-list'

and from now on we correctly have both menu selection in completion and
lists. BUT if you do NOT actually do completion in Step 1 - result is
the same; that is, just calling two

itsrm2% zstyle ':completion:*' menu 'select=0'
itsrm2% zstyle ':completion:*' menu 'select=0' 'select=long-list'

is not enough and does not work.

-andrej



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