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 b1b5b6b0 for ; Tue, 10 Dec 2019 01:40:10 +0000 (UTC) Received: (qmail 26092 invoked by alias); 10 Dec 2019 00:52:10 -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: 44999 Received: (qmail 14900 invoked by uid 1010); 10 Dec 2019 00:52:10 -0000 X-Qmail-Scanner-Diagnostics: from forward103j.mail.yandex.net 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(5.45.198.246):SA:0(-2.6/5.0):. Processed in 1.837867 secs); 10 Dec 2019 00:52:10 -0000 X-Envelope-From: felix.chen@3spocketnet.com.tw X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _spf-ipv4.yandex.ru designates 5.45.198.246 as permitted sender) From: "Felix Chen" To: References: <000201d5ae2e$caa27230$5fe75690$@3spocketnet.com.tw> In-Reply-To: Subject: RE: When GLOB_COMPLETE is on, tab completion does not work with path containing hyphens Date: Tue, 10 Dec 2019 08:51:19 +0800 Message-ID: <000001d5aef3$f283fd80$d78bf880$@3spocketnet.com.tw> MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQJmnG3mWrIPYZx5Z4VUZ7bsuFqutwFPBU5hpoY0OYA= Content-Language: en-us X-Antivirus: Avast (VPS 191209-0, 2019/12/09), Outbound message X-Antivirus-Status: Clean I found another glitch. $ zsh --version zsh 5.7.1 (x86_64-slackware-linux-gnu) $ zsh -f % setopt GLOB_COMPLETE % unsetopt MENU_COMPLETE % touch a-{b..d} % ls a Press tab twice, zsh should only complete up to 'a-' rather than = inserting the first possible match. cf. % touch ee{f..h} Is this related?