From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=MAILING_LIST_MULTI, RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.2 Received: from primenet.com.au (ns1.primenet.com.au [203.24.36.2]) by inbox.vuxu.org (OpenSMTPD) with ESMTP id 2daed9bc for ; Mon, 9 Dec 2019 09:30:10 +0000 (UTC) Received: (qmail 501 invoked by alias); 9 Dec 2019 09:30:05 -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: 44995 Received: (qmail 17963 invoked by uid 1010); 9 Dec 2019 09:30:05 -0000 X-Qmail-Scanner-Diagnostics: from out3-smtp.messagingengine.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.1/25656. spamassassin: 3.4.2. Clear:RC:0(66.111.4.27):SA:0(-2.6/5.0):. Processed in 4.23764 secs); 09 Dec 2019 09:30:05 -0000 X-Envelope-From: d.s@daniel.shahaf.name X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: none (ns1.primenet.com.au: domain at daniel.shahaf.name does not designate permitted sender hosts) X-ME-Sender: X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgedufedrudeltddgtdegucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucenucfjughrpefofgggkfgjfhffhffvufgtsehttd ertderreejnecuhfhrohhmpedfffgrnhhivghlucfuhhgrhhgrfhdfuceougdrshesuggr nhhivghlrdhshhgrhhgrfhdrnhgrmhgvqeenucfrrghrrghmpehmrghilhhfrhhomhepug drshesuggrnhhivghlrdhshhgrhhgrfhdrnhgrmhgvnecuvehluhhsthgvrhfuihiivgep td X-ME-Proxy: X-Mailer: MessagingEngine.com Webmail Interface User-Agent: Cyrus-JMAP/3.1.7-612-g13027cc-fmstable-20191203v1 Mime-Version: 1.0 Message-Id: <58e0a555-b3dc-4229-9d7d-371e96b915cb@www.fastmail.com> In-Reply-To: References: <000201d5ae2e$caa27230$5fe75690$@3spocketnet.com.tw> Date: Mon, 09 Dec 2019 09:29:02 +0000 From: "Daniel Shahaf" To: zsh-workers@zsh.org, "Felix.Chen" Subject: =?UTF-8?Q?Re:_When_GLOB=5FCOMPLETE_is_on,_tab_completion_does_not_work_w?= =?UTF-8?Q?ith_path_containing_hyphens?= Content-Type: text/plain Mikael Magnusson wrote on Mon, 09 Dec 2019 09:23 +00:00: > On 12/9/19, Felix.Chen wrote: > > % mkdir a-b > > > > % touch a-b/{c,d} > > > > > > > > Type 'ls a-b' without quotes and press tab multiple times, zsh will cycle > > through 'ls a-b/c' and 'ls a-b/d'. > > > > But if GLOB_COMPLETE is on, zsh only complete up to 'a-b/'. > > Hi, > > It works fine here, are you using an old version of zsh? (current > version is 5.7.1) I can reproduce it in 'zsh -f' + 'setopt GLOB_COMPLETE' but can't reproduce it if I then run compinit, in current(ish) master.