Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: make zsh completion ergonomics closer to those of bash?
- X-seq: zsh-users 14791
- From: Ian Clarke <ian@xxxxxxxxxxxxxx>
- To: "Benjamin R. Haskell" <zsh@xxxxxxxxxx>
- Subject: Re: make zsh completion ergonomics closer to those of bash?
- Date: Wed, 3 Feb 2010 18:17:19 -0600
- Cc: zsh-users@xxxxxxx
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:sender:received:in-reply-to :references:from:date:x-google-sender-auth:message-id:subject:to:cc :content-type; bh=pFuQdaSklSPifpI3H3J2hwA0c5GCsYHw0Zty4bLCoh8=; b=Ci86Bujw75nOeKpvB9I7xClCVQ5CTXz/S758jqpF8EP3OAw0QwapS82yXWilDJxHt1 GYguWaL8zR1N+czxPgDmz6Vjapk8hrBjABCDnMBEyZRLl188l9q1GLcQ6AN2pjliNYhk O8M4w9FWYvRX9zX4cVE3ZkOiLp4o+jG4ZIwW0=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:from:date :x-google-sender-auth:message-id:subject:to:cc:content-type; b=Sx1QsuJ//B+SDepGjYkPa31jOqtUAy/lSQ2dopjDQOcx0HITx9WQ+gkgdQ859Sp9te 4CmXpV2l7LFG6VFXvh7KC+5aHFL1x//QECaOywhOQCceMSdIKHkhnKXEu4I5CaJNWfY0 HWRgibv3JnHxUtb680NSe0OKBdxiBxChNAZbQ=
- In-reply-to: <alpine.LNX.2.01.1002031730570.2729@xxxxxxxxxxx>
- 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: <823242bd1002031303s325579e3x8333945d7b891e45@xxxxxxxxxxxxxx> <843c889d1002031327k3332da79v9e0edc2520fa71dc@xxxxxxxxxxxxxx> <823242bd1002031333i447cc89eye46c3f7eb2953647@xxxxxxxxxxxxxx> <alpine.LNX.2.01.1002031640090.2729@xxxxxxxxxxx> <823242bd1002031419g5ddfa7a0k3851d99970ab854c@xxxxxxxxxxxxxx> <alpine.LNX.2.01.1002031730570.2729@xxxxxxxxxxx>
- Sender: ian.clarke@xxxxxxxxx
On Wed, Feb 3, 2010 at 4:46 PM, Benjamin R. Haskell <zsh@xxxxxxxxxx> wrote:
> Did you try 'setopt bashautolist'?
>
> Otherwise, let's be sure the defaults are the same...
>
> $ set -o | grep -E 'menu|autolist|listam'
> noautolist off
> noautomenu on
> bashautolist off
> nolistambiguous off
> menucomplete off
>
I had some different settings, but now I get the same as you, but the
behavior isn't what I'm looking for:
% set -o | grep -E 'menu|autolist|listam'
~
noautolist off
noautomenu on
bashautolist off
nolistambiguous off
menucomplete off
% cd /tmp/zshcomptest
~
% cat <tab>afile
/tmp/zshcomptest
afile commonprefixaaaa commonprefixccc
bfile commonprefixaaab
So I hit <tab> once, and immediately "afile" is printed and the cursor moves
to the end of "afile".
Similarly, if I type:
% cat comm<tab>
Immediately, I get:
% cat commonprefixaaaa
(along with a list of the available options below).
It is the fact that it automatically fills out the completion with the first
option the first time that I hit <tab> that I'm trying to avoid :-/
Ian.
--
Ian Clarke
CEO, SenseArray
Email: ian@xxxxxxxxxxxxxx
Ph: +1 512 422 3588
Messages sorted by:
Reverse Date,
Date,
Thread,
Author