From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14015 invoked by alias); 21 Aug 2018 03:24:51 -0000 Mailing-List: contact zsh-workers-help@zsh.org; run by ezmlm Precedence: bulk X-No-Archive: yes List-Id: Zsh Workers List List-Post: List-Help: List-Unsubscribe: X-Seq: 43322 Received: (qmail 27131 invoked by uid 1010); 21 Aug 2018 03:24:51 -0000 X-Qmail-Scanner-Diagnostics: from rcpt-expgw.biglobe.ne.jp by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.99.2/21882. spamassassin: 3.4.1. Clear:RC:0(133.208.98.3):SA:0(-2.6/5.0):. Processed in 1.471173 secs); 21 Aug 2018 03:24:51 -0000 X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on f.primenet.com.au X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_LOW, SPF_PASS autolearn=ham autolearn_force=no version=3.4.1 X-Envelope-From: takimoto-j@kba.biglobe.ne.jp X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | X-Biglobe-Sender: From: Jun T Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: bug report about zsh Date: Tue, 21 Aug 2018 12:24:47 +0900 References: To: zsh-workers@zsh.org In-Reply-To: Message-Id: <3C1D9C2A-8B6D-4845-A8AD-584FB53BB434@kba.biglobe.ne.jp> X-Mailer: Apple Mail (2.3273) X-Biglobe-Spnum: 57447 > 2018/08/21 2:30, Bart Schaefer wrote: > > On Mon, Aug 20, 2018, 10:21 AM Jun T. 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 % finger f % dsh -m f 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)?