zsh-users
 help / color / mirror / code / Atom feed
From: Ed Singleton <singletoned@gmail.com>
To: Oliver Kiddle <okiddle@yahoo.co.uk>
Cc: zsh-users@zsh.org
Subject: Re: How to disable Windows style completion cycling?
Date: Fri, 2 Dec 2016 12:13:02 +0000	[thread overview]
Message-ID: <50719A12-65E3-4A00-A202-82C2FF5B7899@gmail.com> (raw)
In-Reply-To: <3506.1480680241@hydra.kiddle.eu>


> On 2 Dec 2016, at 12:04, Oliver Kiddle <okiddle@yahoo.co.uk> 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?

THANK YOU!

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.

Ed

      reply	other threads:[~2016-12-02 13:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-12-02 11:18 Ed Singleton
2016-12-02 12:04 ` Oliver Kiddle
2016-12-02 12:13   ` Ed Singleton [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=50719A12-65E3-4A00-A202-82C2FF5B7899@gmail.com \
    --to=singletoned@gmail.com \
    --cc=okiddle@yahoo.co.uk \
    --cc=zsh-users@zsh.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.vuxu.org/mirror/zsh/

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).