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

Is it possible to limit the height or rows of menus?



zsh 5.6.2

When using menu select with a command that has many options, all rows
in the terminal may be filled, and the context is lost (i.e. any
previous commands and their output disappear past the top of the
terminal, so needing to scroll back up to see them.)

What I would like to do is limit the number of rows.

I tried doing something like:

LINES=10 grep -<tab>

Which doesn't work.

I'm using the following options:

autolist
listpacked
listrowsfirst
menucomplete
nolistbeep
zstyle ':completion:*' menu true select
zstyle ':completion:*' single-ignored 'menu'

Is there a way to accomplish this?

Thanks



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