From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from euclid.skiles.gatech.edu (list@euclid.skiles.gatech.edu [130.207.146.50]) by coral.primenet.com.au (8.7.5/8.7.3) with ESMTP id UAA00167 for ; Tue, 27 Aug 1996 20:03:37 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id FAA16098; Tue, 27 Aug 1996 05:52:57 -0400 (EDT) Resent-Date: Tue, 27 Aug 1996 05:47:39 -0400 (EDT) From: "Bart Schaefer" Message-Id: <960827024831.ZM6829@candle.brasslantern.com> Date: Tue, 27 Aug 1996 02:48:31 -0700 In-Reply-To: Duncan Sargeant "Re: bash like tab tab 's" (Aug 27, 5:31pm) References: <199608270931.RAA31201@tartarus.uwa.edu.au> Reply-To: schaefer@nbn.com X-Mailer: Z-Mail (4.0b.729 29jul96) To: Duncan Sargeant Subject: Re: bash like tab tab 's Cc: dunc@ucc.gu.uwa.edu.au, zsh-users@math.gatech.edu MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Resent-Message-ID: <"Lbyvg3.0.hr3.wGi8o"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/385 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu On Aug 27, 5:31pm, Duncan Sargeant wrote: } Subject: Re: bash like tab tab 's } } > } I noticed bash's tab tab feature, where pressing tab once } > } will try to complete a word as per usual, but if it can't, pressing it a } > } second time will give a list of commands. } > } > I think you want } > } > setopt autolist listambiguous } } that's does a list after the first TAB. I was interested in having it } complete as far as possible first, beep, then (after second TAB) list. `setopt autolist` lists after the first tab on any ambiguous competion. If you add `setopt listambiguous` then it completes as far as possible and lists only if "as far as possible" means "no further". This is as close as you can get; it saves you having to type the second tab when the completion is immediately ambiguous, which is (partly) why it works this way. -- Bart Schaefer Brass Lantern Enterprises http://www.well.com/user/barts http://www.nbn.com/people/lantern New male in /home/schaefer: >N 2 Justin William Schaefer Sat May 11 03:43 53/4040 "Happy Birthday"