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

Re: local functions



On Mon, Dec 19, 2022 at 10:20 AM Ray Andrews <rayandrews@xxxxxxxxxxx> wrote:
>
> I see nothing to indicate it is possible, but can we make a helper
> function 'local'?

No.

> Putting
> 'local' in front of a function definition seems not to be an error, but
> it seems to make no difference.

You have most likely just redefined "local" as a function.  Try again
with "setopt NO_MULTI_FUNC_DEF".




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