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 FAA01866 for ; Wed, 28 Aug 1996 05:04:13 +1000 (EST) Received: (from list@localhost) by euclid.skiles.gatech.edu (8.7.3/8.7.3) id PAA25349; Tue, 27 Aug 1996 15:05:01 -0400 (EDT) Resent-Date: Tue, 27 Aug 1996 14:55:40 -0400 (EDT) From: Zefram Message-Id: <3748.199608271853@stone.dcs.warwick.ac.uk> Subject: Re: bash like tab tab 's To: schaefer@nbn.com Date: Tue, 27 Aug 1996 19:53:52 +0100 (BST) Cc: dunc@ucc.gu.uwa.edu.au, zsh-users@math.gatech.edu In-Reply-To: <960827022316.ZM6665@candle.brasslantern.com> from "Bart Schaefer" at Aug 27, 96 02:23:16 am X-Loop: zefram@dcs.warwick.ac.uk X-Stardate: [-31]8028.93 X-US-Congress: Moronic fuckers MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Resent-Message-ID: <"GcKz83.0.U66.iIq8o"@euclid> Resent-From: zsh-users@math.gatech.edu X-Mailing-List: archive/latest/386 X-Loop: zsh-users@math.gatech.edu X-Loop: zsh-workers@math.gatech.edu Precedence: list Resent-Sender: zsh-workers-request@math.gatech.edu >} In the brief period between installing Linux and changing the default >} shell to zsh, 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 thought zsh could do this, but I can't find the right combination of options for it. I don't actually like the bash behaviour, but we really ought to be able to emulate it. Whoever does add this capability, be very careful -- the logic controlling when the list is displayed is quite horrendous as it is. >While we're on the subject of just-noticed features in other shells, I >just noticed that tcsh's `complete' command can take a glob pattern for >the name of the command(s) to which the programmable completion should >apply. Does anybody think this would be useful enough to add to zsh? Not as another special case. But I have some vague plans for a more general programmable completion mechanism that could allow this among other things -- I'll post some specific designs (to zsh-workers) in a few days or so. -zefram