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

Re: exit to shell from nested function calls.



On Fri, May 17, 2024, 10:04 AM Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
... make it a script first, then think about
whether it's simple enough to become a function.

Forgot to mention, you can also get the best of both worlds by writing a function with sections (up to even the whole function body) wrapped in subshell parens.


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