zsh-users
 help / color / mirror / code / Atom feed
From: Oliver Kiddle <opk@u.genie.co.uk>
To: Zsh users <zsh-users@sunsite.auc.dk>
Subject: Completion in the first character position
Date: Tue, 25 Jul 2000 14:14:37 +0100	[thread overview]
Message-ID: <200007251314.OAA90882@cm01.ess> (raw)

I am writing a shell script where I'm prompting the user to enter
various information. I'm using vared to read what is entered into a
variable after using compctl -C to setup completions (and a setopt
autolist). I could have used the new style completions but it is a
fairly simple case and I use 3.0.8 where the script will run.

The problem is that when I press tab to complete in the first character
position, a tab is inserted and the completions are not listed. This is
handy at the normal zsh prompt because listing all the commands can be
time consuming but in my script, it is annoying.

Is there an option or something to turn this off? I've looked through
the manual but can't see one. As a feature, it is probably less useful
with the new completion system because the same can be achieved with a
style anyway.

Thanks

Oliver Kiddle


             reply	other threads:[~2000-07-25 13:20 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-07-25 13:14 Oliver Kiddle [this message]
2000-07-25 13:39 ` Sven Wischnowsky
2000-07-25 15:39   ` Bart Schaefer

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=200007251314.OAA90882@cm01.ess \
    --to=opk@u.genie.co.uk \
    --cc=zsh-users@sunsite.auc.dk \
    /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).