From: Bart Schaefer <schaefer@brasslantern.com>
To: "Oliver Kiddle" <okiddle@yahoo.co.uk>
Cc: zsh-workers@sunsite.dk
Subject: Re: ssh completion problem
Date: Thu, 7 Feb 2002 01:54:45 +0000 (GMT) [thread overview]
Message-ID: <Pine.BSF.4.40.0202070142540.70914-100000@brasslantern.com> (raw)
In-Reply-To: <20020206090019.81014.qmail@web9301.mail.yahoo.com>
On Wed, 6 Feb 2002, [iso-8859-1] Oliver Kiddle wrote:
> I think the problem is due to this line in _combination:
>
> compadd "$@" -a tmp || { (( $+functions[_$key] )) && "_$key" "$@" }
Yes, I thought that was it, too.
> The line gets run for each of host hosts, domains and IP addresses.
> Only one needs to fail for "_$key" (_hosts in effect) to go on to run.
Right again, so far ... however, in looking at my own _complete_debug
output *before* applying your patch, the odd thing is that the first
compadd is failing for no apparent reason. That is, for completion after
`lll@', it does `tmp=(bbb.com)' and `compadd -F _comp_ignore -a tmp',
but even though bbb.com is not ignored, still the compadd returns 1.
If I remove the tag-order style, that stops happening. I don't know why
there would be any interaction between the two, but there it is.
> I think the patch below is the right fix - provided tmp can't be
> different with each of the tags.
This doesn't work as I want. With the patch, the values from users-hosts
become the only possible matches, so I can't complete other hostnames.
next prev parent reply other threads:[~2002-02-07 1:55 UTC|newest]
Thread overview: 12+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <1020205170847.ZM29675@candle.brasslantern.com>
2002-02-06 9:00 ` Oliver Kiddle
2002-02-07 1:54 ` Bart Schaefer [this message]
2002-02-08 9:40 ` Oliver Kiddle
2002-02-08 18:26 ` Bart Schaefer
2002-02-11 9:12 ` Sven Wischnowsky
2002-02-11 18:04 ` Bart Schaefer
2002-02-12 9:18 ` Oliver Kiddle
2002-02-12 13:16 ` Sven Wischnowsky
2002-02-12 15:08 ` Oliver Kiddle
2002-02-12 15:20 ` Sven Wischnowsky
2002-02-15 17:15 ` Oliver Kiddle
2002-02-18 14:28 ` Sven Wischnowsky
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=Pine.BSF.4.40.0202070142540.70914-100000@brasslantern.com \
--to=schaefer@brasslantern.com \
--cc=okiddle@yahoo.co.uk \
--cc=zsh-workers@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).