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

Re: alias/anon_function quoting issue



Le 14/07/2023 à 16:46, Jim a écrit :
Hi everyone, First, admittedly what I'm trying to do can be done in a
regular function without an issue. That said, I just hate giving up
trying to make it work.(sorry)

[...]

FYI, the alias itself is using single quotes to surround the
anon_function. alias name='(){ ... }'

Hi, I'm curious, is there a particular advantage to doing this rather than declaring a function?

--
Johan




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