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

Re: [PATCH 0/3] completion: make: various improvements



> 2022/08/03 8:02, Felipe Contreras <felipe.contreras@xxxxxxxxx> wrote:
> 
> On Tue, Aug 2, 2022 at 5:43 AM Jun T <takimoto-j@xxxxxxxxxxxxxxxxx> wrote:

>> # Not a target:
>> 
>> I think a (wrong) target after this line should be ignored.
> 
> The current code which uses _make-parseMakefile already offers those
> targets anyway, so there is no change.

If 'call-command' style is set to false, then these targets are not
offered (as a possible target).

> Personally I don't like the current design, which is why I don't use
> the official make completion, and use my own instead [1]. I think only
> the targets returned by make should be completed (no _files),

You may try the following:

zstyle ':completion:*:make:*:' tag-order 'targets variables'





Messages sorted by: Reverse Date, Date, Thread, Author