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 46207
- From: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>
- To: Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx>, "zsh-workers@xxxxxxx" <zsh-workers@xxxxxxx>
- Subject: Re: [Bug] Doubled completions with suffix aliases and grouping
- Date: Tue, 7 Jul 2020 10:20:48 -0700
- In-reply-to: <20200707065741.orpjgyhwnxum6i4g@aegis.localdomain>
- 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>
- 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>
- Sender: zsh-workers@xxxxxxx
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})")'
Messages sorted by:
Reverse Date,
Date,
Thread,
Author