Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [Bug] Doubled completions with suffix aliases and grouping
- X-seq: zsh-workers 46208
- From: Guido Cella <guidocella91@xxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- Subject: Re: [Bug] Doubled completions with suffix aliases and grouping
- Date: Tue, 7 Jul 2020 19:59:46 +0200
- Cc: "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- In-reply-to: <CAH+w=7YPyTu7QerdkGchZ4-aX5UT_RD0JW_orx3HGfSLKAqtVQ@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mail-followup-to: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <20200705174642.b2frcpxiuscbj27r@aegis.localdomain> <CAH+w=7aXs_UYoHLqxYzXtCGacUoFxYpqNoZXBq=ofpsMa6RZ7w@mail.gmail.com> <20200705192433.mdqsbcrhhasqvotf@aegis.localdomain> <CAH+w=7ZFUwYrguy6L5_N3NTGSiYPChgsFwmpFpmJ18-10+LX+A@mail.gmail.com> <20200707065741.orpjgyhwnxum6i4g@aegis.localdomain> <CAH+w=7YPyTu7QerdkGchZ4-aX5UT_RD0JW_orx3HGfSLKAqtVQ@mail.gmail.com>
- Sender: zsh-workers@xxxxxxx
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@xxxxxxxxx> 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!
Messages sorted by:
Reverse Date,
Date,
Thread,
Author