Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: How to disable Windows style completion cycling?
- X-seq: zsh-users 22136
- From: Oliver Kiddle <okiddle@xxxxxxxxxxx>
- To: Ed Singleton <singletoned@xxxxxxxxx>
- Subject: Re: How to disable Windows style completion cycling?
- Date: Fri, 02 Dec 2016 13:04:01 +0100
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.co.uk; s=s2048; t=1480680242; bh=zfAm0M2o8wAdhK0FLUN4eFOxEtZr5b1rZ+QBqLS26BM=; h=cc:In-reply-to:From:References:To:Subject:Date:From:Subject; b=ZufmgPM3S8qZxzC7EXLT6Eb1PGFo28c3eS/CLi1xvpYaZCvJfIac3EYmda2inftgjdVE4BGG9PHOxGb5u2w7OTXAN5WSXiPok44tUxG2KLr1eNtzU+Ovp6B///WbvmSfSYkPnLEV1k/llqmeRJK7/vfCuFot/CnvjadA8moaVmUWYJ6jdDzudhMpJMWUSDNBgSKfhwVLxUP/QKud/Ebn95zdYk7Bv0I5CcHHOzBRbLwazV4Ot0WUqQ4i8xgUXPj8iJtn6LmSwUNLy2ZWj47mf65L06yg6BOhpMcxkSu7jptZp/k4kZXPnVRRtUQnBrx2zjRR6k+DZOnx/iUFUPpzVA==
- In-reply-to: <DF080855-886F-473F-A670-53F7186789F7@gmail.com>
- List-help: <mailto:zsh-users-help@zsh.org>
- List-id: Zsh Users List <zsh-users.zsh.org>
- List-post: <mailto:zsh-users@zsh.org>
- Mailing-list: contact zsh-users-help@xxxxxxx; run by ezmlm
- References: <DF080855-886F-473F-A670-53F7186789F7@gmail.com>
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’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
> If anyone has got any tips on how to turn it off, or good terms that I
> should be googling, I’d be very grateful. (I’m slightly hampered in
> that I don’t know the correct term for it, so it’s hard to google).
If I've understood you correctly, it is termed menu completion, at least
in a zsh context.
By default, you should only get it after pressing tab twice in
succession. There's a BASH_AUTO_LIST option if you like the bash
behaviour of having to use an extra tab press to get a listing.
Oliver
Messages sorted by:
Reverse Date,
Date,
Thread,
Author