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

Re: [RFC PATCH 1/2] complete absolute paths for mpc add



Bart Schaefer, 2024-11-10T15:10:55-08:00:
> On Sun, Nov 10, 2024 at 10:56 AM Karel Balej <balejk@xxxxxxxxx> wrote:
> >... possibly simpler to just have _mpc_helper_files fail on no matches
> > and have the completion fall back to _files only then?
>
> If, when _mpc_helper_files does find something, you don't mind
> skipping files that _mpc_helper_files does not find, you can certainly
> do that.

Actually that isn't really better because only absolute paths should be
completed via _files.

So if you have no further comments, I can submit the original patches
updated with the ret handling.

Thank you,
K. B.




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