From: Bart Schaefer <schaefer@brasslantern.com>
To: Bart Schaefer <schaefer@brasslantern.com>,
"zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: [Bug] Doubled completions with suffix aliases and grouping
Date: Tue, 7 Jul 2020 10:20:48 -0700 [thread overview]
Message-ID: <CAH+w=7YPyTu7QerdkGchZ4-aX5UT_RD0JW_orx3HGfSLKAqtVQ@mail.gmail.com> (raw)
In-Reply-To: <20200707065741.orpjgyhwnxum6i4g@aegis.localdomain>
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})")'
next prev parent reply other threads:[~2020-07-07 17:21 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 [this message]
2020-07-07 17:59 ` Guido Cella
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='CAH+w=7YPyTu7QerdkGchZ4-aX5UT_RD0JW_orx3HGfSLKAqtVQ@mail.gmail.com' \
--to=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).