0

Is it possible for zsh to cycle through bash-completion alternatives, as described in this question - Is it possible for bash completion to cycle through the alternatives?

The option I am describing doesn't list the alternatives below the command you are typing in the default manner. You just keep pressing the tab key and it changes the text directly underneath the cursor as you tab through the alternatives.

I am trying out zsh and this is the equivalent text in .bashrc

if [ -f /etc/bash_completion ] && ! shopt -oq posix; then
    . /etc/bash_completion
    bind '"\C-i": menu-complete'
fi
  • Do you mean as in cycling through flags and switches for programs you are trying to run? – Tropical_Peach May 3 '17 at 15:36
  • @Tropical_Peach I have updated the question at the part The option I am describing doesn't list the alternatives below the command you are typing in the default manner. You just keep pressing the tab key and it changes the text directly underneath the cursor as you tab through the alternatives. – vfclists May 3 '17 at 20:34
  • It does and I think the facility may already be built into oh-my-zsh if not already configured in the base zsh. My main concern was the selection of filename alternatives and it does that. Perhaps I shoulld consider it a non-question and delete it. – vfclists May 26 '17 at 21:57

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.