From: Guido Cella <guidocella91@gmail.com>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: [Bug] Doubled completions with suffix aliases and grouping
Date: Tue, 7 Jul 2020 19:59:46 +0200 [thread overview]
Message-ID: <20200707175946.vi3nl3mzp6ofbkbx@aegis.localdomain> (raw)
In-Reply-To: <CAH+w=7YPyTu7QerdkGchZ4-aX5UT_RD0JW_orx3HGfSLKAqtVQ@mail.gmail.com>
On Tue, Jul 07, 2020 at 10:20:48AM -0700, Bart Schaefer wrote:
> On Mon, Jul 6, 2020 at 11:57 PM Guido Cella <guidocella91@gmail.com> 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!
prev parent reply other threads:[~2020-07-07 18:00 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-07-05 17:46 Guido Cella
2020-07-05 18:09 ` Bart Schaefer
2020-07-05 19:24 ` Guido Cella
2020-07-07 4:51 ` Bart Schaefer
2020-07-07 6:57 ` Guido Cella
2020-07-07 17:20 ` Bart Schaefer
2020-07-07 17:59 ` Guido Cella [this message]
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=20200707175946.vi3nl3mzp6ofbkbx@aegis.localdomain \
--to=guidocella91@gmail.com \
--cc=schaefer@brasslantern.com \
--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).