Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: [PATCH] _multi_parts doesn't always pass -f to compadd
On Sat, Dec 21, 2019 at 8:47 PM dana <dana@xxxxxxx> wrote:
>
> I noticed this the other day and forgot about it until now. In some cases
> (seemingly the most common ones?), _multi_parts doesn't pass -f to compadd,
> which prevents colours/symbols from being applied to files. Just adding -f to
> the list of options that are passed unconditionally seems to fix it?
_multi_parts is intended to be usable in cases that are not files,
such as (IIRC) tar listings, perl module names, etc.
I don't know if passing -f to compadd when adding something that is
not a file has any bad effects.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author