Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Is it possible to limit the height or rows of menus?
- X-seq: zsh-users 24737
- From: Dave Woodfall <dave@xxxxxxx>
- To: Zsh Users <zsh-users@xxxxxxx>
- Subject: Is it possible to limit the height or rows of menus?
- Date: Sun, 5 Apr 2020 15:38:46 +0100
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- List-unsubscribe: <mailto:zsh-users-unsubscribe@zsh.org>
- Mail-followup-to: Zsh Users <zsh-users@xxxxxxx>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
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