Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: [Bug] Doubled completions with suffix aliases and grouping



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