From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on inbox.vuxu.org X-Spam-Level: X-Spam-Status: No, score=-1.0 required=5.0 tests=DKIM_ADSP_CUSTOM_MED, FREEMAIL_FROM,MAILING_LIST_MULTI,RCVD_IN_DNSWL_NONE autolearn=ham autolearn_force=no version=3.4.4 Received: (qmail 9230 invoked from network); 7 Jul 2020 18:00:37 -0000 Received: from ns1.primenet.com.au (HELO primenet.com.au) (203.24.36.2) by inbox.vuxu.org with ESMTPUTF8; 7 Jul 2020 18:00:37 -0000 Received: (qmail 2338 invoked by alias); 7 Jul 2020 18:00:31 -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: Sender: zsh-workers@zsh.org X-Seq: 46208 Received: (qmail 7122 invoked by uid 1010); 7 Jul 2020 18:00:31 -0000 X-Qmail-Scanner-Diagnostics: from mail-wr1-f45.google.com by f.primenet.com.au (envelope-from , uid 7791) with qmail-scanner-2.11 (clamdscan: 0.102.3/25863. spamassassin: 3.4.4. Clear:RC:0(209.85.221.45):SA:0(-1.8/5.0):. Processed in 2.189242 secs); 07 Jul 2020 18:00:31 -0000 X-Envelope-From: guidocella91@gmail.com X-Qmail-Scanner-Mime-Attachments: | X-Qmail-Scanner-Zip-Files: | Received-SPF: pass (ns1.primenet.com.au: SPF record at _netblocks.google.com designates 209.85.221.45 as permitted sender) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id :mail-followup-to:references:mime-version:content-disposition :in-reply-to; bh=eqc6UYLJNXJJGfydLbIxRgthX9dwB8kchFbfWSk94gQ=; b=R4Z+QbG2P0wkzYn7xHVBKkFFuBih8ET0Kk4BGACp4mq+xwZNCnp4wjYjHz5U+jccOk tTb4zhstxjxpaWExI9uJWiKUmqKWSOlPzflGn5exjxZNsFPi6GUTI5+TUDustaU662Z4 OG0CC1HpyzSvj5QOvtRScqFvabuqflNaBYwUomp0v9iKnLfc1bQKVGx2HazgtJJFzbVg iUVgmce1eIuObuvU58uBx7Q9PYh3/XpWfydg6a7l6M55DjGYgDtjCfFvvBarsFcQjxN0 FX++FsHePKrJckWkTn4UmO6fylsmGFpZr0lcR5pQvBpaLzL65zaXMhO4BPDxopByl5m8 KG+g== X-Gm-Message-State: AOAM5338pQ8lxcBroxphwI94iY0sO+dmkpMhRsIFdblP/XB5FrdMob5A N9/TOIMEksmIy4L1UPUgRfFixjlb X-Google-Smtp-Source: ABdhPJyvTCEVdE5dqoZDoFs0jiEdo13WViJBuiSdZAlmJZw29JDav00ZsgXAoVQ8jW9CU3LepBVNeg== X-Received: by 2002:a5d:55cf:: with SMTP id i15mr59887673wrw.204.1594144794358; Tue, 07 Jul 2020 10:59:54 -0700 (PDT) Date: Tue, 7 Jul 2020 19:59:46 +0200 From: Guido Cella To: Bart Schaefer Cc: "zsh-workers@zsh.org" Subject: Re: [Bug] Doubled completions with suffix aliases and grouping Message-ID: <20200707175946.vi3nl3mzp6ofbkbx@aegis.localdomain> Mail-Followup-To: Bart Schaefer , "zsh-workers@zsh.org" References: <20200705174642.b2frcpxiuscbj27r@aegis.localdomain> <20200705192433.mdqsbcrhhasqvotf@aegis.localdomain> <20200707065741.orpjgyhwnxum6i4g@aegis.localdomain> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: On Tue, Jul 07, 2020 at 10:20:48AM -0700, Bart Schaefer wrote: > On Mon, Jul 6, 2020 at 11:57 PM Guido Cella wrote: > > > > zstyle :completion::complete:-command-::executables ignored-patterns '*(#q^*)' > > is worse since it stops completing directories (and real executables) > > Hmm, OK, I've forgotten that ignored-patterns is only doing name > matching, not globbing. > > How about this? > > zstyle -e :completion::complete:-command-::executables ignored-patterns \ > 'reply=("*.(${(j:|:k)saliases})")' That fixes the issues. Thank you!