zsh-users
 help / color / mirror / code / Atom feed
From: Will Yardley <william@hq.newdream.net>
To: zsh-users@sunsite.dk
Subject: Re: newbie's question about completion
Date: Thu, 8 Nov 2001 01:46:02 -0800	[thread overview]
Message-ID: <20011108014602.B1443@hq.newdream.net> (raw)
In-Reply-To: <200111080937.LAA23053@csd.cs.technion.ac.il>

Dan Kenigsberg wrote:
> 
> Assume I have an executable in my $PATH named `armadillo'.
> 
> In versions 2.5.0 and 3.0.8 I only had to type ar<TAB> to execute it.
> Since ar(1) is in my path, too, zsh would beep and let me choose between ar and
> armadillo.
> 
> However in versions 3.1.9 and 4.0.2, ar<TAB> expands to `ar ', and does not give
> me the opportunity to choose what I wanted. I find this very annoying.
> 
> Browsing the man and searching the web for how to revert to the old behavior
> did not produce the answer. Frankly, I don't know waht to search for..
> 
> I hope someone here would help me,

just a thought; perhaps 'autolist' is set?  does it complete and add a
space or does it sit there? if you tab again will it go to the next
match?

you might explore some of (or all of) the following options (these are
the main options i have set which pertain to completion).

complete_in_word
NO_menu_complete 
NO_auto_menu 
NO_list_beep (maybe)
bash_auto_list

if that doesn't help, you might want to include the output of:
echo $PATH
echo $ZSH_VERSION
echo SHELL

and then 'which command1' and 'which command2' (with the names of the
actual commands you're having problems with)....

and the output of:
setopt

this might be helpful to those who are more knowledgable than i and
allow them to answer your question more fully.

the behaviour you're used to is definitely possible in the newer zsh
versions (pretty much anything is....).

w

-- 
GPG Public Key:
http://infinitejazz.net/will/pgp/


  reply	other threads:[~2001-11-08  9:46 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-11-08  9:37 Dan Kenigsberg
2001-11-08  9:46 ` Will Yardley [this message]
2001-11-08 11:01 ` Oliver Kiddle
2001-11-08 11:44   ` Dan Kenigsberg
2001-11-08 12:06     ` Nadav Har'El
2001-11-08 12:25       ` Dan Kenigsberg
2001-11-08 12:35         ` Nadav Har'El
2001-11-08 13:47           ` Vincent Lefevre
2001-11-08 13:56             ` Peter Stephenson
2001-11-08 14:35               ` Vincent Lefevre
2001-11-08 14:15             ` Mads Martin Joergensen

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=20011108014602.B1443@hq.newdream.net \
    --to=william@hq.newdream.net \
    --cc=zsh-users@sunsite.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).