From: Jun T <takimoto-j@kba.biglobe.ne.jp>
To: zsh-workers@zsh.org
Subject: Re: bug report about zsh
Date: Tue, 21 Aug 2018 12:24:47 +0900 [thread overview]
Message-ID: <3C1D9C2A-8B6D-4845-A8AD-584FB53BB434@kba.biglobe.ne.jp> (raw)
In-Reply-To: <CAH+w=7ZUJs+r3NOqysEvjm2bq-B2XK6mai_Zs7eRJMa3aA-gdw@mail.gmail.com>
> 2018/08/21 2:30, Bart Schaefer <schaefer@brasslantern.com> wrote:
>
> On Mon, Aug 20, 2018, 10:21 AM Jun T. <takimoto-j@kba.biglobe.ne.jp> wrote:
>
>> Do we need to fix this? If so, then how? Can we just remove
>> the ':' from the pattern [:@] ?
>>
> The colon is there so you can specify a port number, I think.
User *can* specify a port number but it is just ignored.
In _user_at_host, _combination is called with style 'users-hosts', not
'users-hosts-ports'. For example,
% zstyle ':completion:*' users-hosts 'foo@host.com:123'
% sshfs f<TAB><TAB>
% finger f<TAB><TAB>
% dsh -m f<TAB><TAB>
all of these complete to foo@host.com and the 123 will never be offered.
So I wonder why : is in the pattern [:@]. Is it just to ignore the
port number (if it exists)?
next prev parent reply other threads:[~2018-08-21 3:24 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-20 1:56 air azure
2018-08-20 17:20 ` Jun T.
2018-08-20 17:30 ` Bart Schaefer
2018-08-21 3:24 ` Jun T [this message]
2018-08-21 10:36 ` Daniel Shahaf
2018-08-22 11:43 ` Jun T
2018-08-22 15:33 ` Sebastian Gniazdowski
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=3C1D9C2A-8B6D-4845-A8AD-584FB53BB434@kba.biglobe.ne.jp \
--to=takimoto-j@kba.biglobe.ne.jp \
--cc=zsh-workers@zsh.org \
/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).