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

Re: [BUG] zf_ln complains about the wrong argument



Peter Stephenson wrote on Sun, 22 Aug 2021 20:24 +00:00:
> Also seems a good idea to turn a null string into a couple of quotes.  I
> thought of modifying the error message handler but this has too many
> knock on effects.

What "knock on effects"?  Extending zwarning() with a %q format code
that takes a «char *» and outputs it quoted seems like a good idea and
shouldn't break anything.  Will handle filenames with spaces, too.




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