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

Re: How to disable Windows style completion cycling?

> On 2 Dec 2016, at 12:04, Oliver Kiddle <okiddle@xxxxxxxxxxx> wrote:
> Ed Singleton wrote:
>> I’ve recently switched from bash to zsh, and generally it’s been
>> a positive experience, except for the fact that I can’t work out how
>> to switch off the Windows style cycling of completions when you press
>> <tab>. I much prefer bash’s refusal to guess, where it only completes
>> any unambiguous part of the match and does nothing else except show
>> options.
>> I’ve tried setting (and unsetting) MENU_COMPLETE, and other options from the completion section of setopt.  
> Have you tried unsetopt auto_menu?


I was sure I had tried that one, but I’ve just retried it, and it worked.

>> I’ve tried using zstyle and setting `zstyle ':completion:*' menu no-select`
> That ought to work too if you have compinit enabled which I would
> recommend (autoload -U compinit; compinit).
> Perhaps try including the default tag in the style:
>  zstyle ':completion:*:default' menu no-select

This didn’t work, but then I’m not explicitly using compinit.  I’ll have a look into what it is though, if you recommend it.

Thanks again.


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