zsh-users
 help / color / mirror / code / Atom feed
From: Zefram <A.Main@dcs.warwick.ac.uk>
To: schaefer@nbn.com
Cc: dunc@ucc.gu.uwa.edu.au, zsh-users@math.gatech.edu
Subject: Re: bash like tab tab 's
Date: Tue, 27 Aug 1996 19:53:52 +0100 (BST)	[thread overview]
Message-ID: <3748.199608271853@stone.dcs.warwick.ac.uk> (raw)
In-Reply-To: <960827022316.ZM6665@candle.brasslantern.com> from "Bart Schaefer" at Aug 27, 96 02:23:16 am

>} 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


      parent reply	other threads:[~1996-08-27 19:04 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-08-27  8:34 Duncan Sargeant
1996-08-27  9:23 ` Bart Schaefer
1996-08-27  9:31   ` Duncan Sargeant
1996-08-27  9:48     ` Bart Schaefer
1996-08-27 18:53   ` Zefram [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=3748.199608271853@stone.dcs.warwick.ac.uk \
    --to=a.main@dcs.warwick.ac.uk \
    --cc=dunc@ucc.gu.uwa.edu.au \
    --cc=schaefer@nbn.com \
    --cc=zsh-users@math.gatech.edu \
    /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).