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

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



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