If I am cd'ing into a directory, there is a setting in my ~/.zshrc that tells zsh to always launch a menu when I hit tab on an ambiguous completion, e.g.

  • ~% cd /etc/a tab

will immediately cause a menu to launch


autoload -Uz compinit

zstyle ':completion:*:*:cd:*' menu yes select
zstyle ':completion:*' format 'Completing %d'
zstyle ':completion:*' select-prompt %SScrolling active: current selection at %p%s%p

What Im trying to do is get the same behaviour but for command options,

  • ~% rsync - tab

What is currently happening is I get:

zsh: do you wish to see all 405 possibilities (136 lines)?

How can I get a menu to launch immediately like zsh does on cd completion?

1 Answer 1


I just guessed at some variations of the menu command and this worked

zstyle ':completion:*' menu yes select

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .