Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Functions can't be defined inside ${ ... }
- X-seq: zsh-workers 54296
- From: Jun T <takimoto-j@xxxxxxxxxxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: Re: Functions can't be defined inside ${ ... }
- Date: Mon, 6 Apr 2026 11:36:24 +0900
- Archived-at: <https://zsh.org/workers/54296>
- In-reply-to: <CAH+w=7b6G6BHmAxuvKO2bJ-RARAEi4PXy=GESg6PUo6PkOWgoA@mail.gmail.com>
- List-id: <zsh-workers.zsh.org>
- References: <CAH+w=7b6G6BHmAxuvKO2bJ-RARAEi4PXy=GESg6PUo6PkOWgoA@mail.gmail.com>
> 2026/04/06 2:51, Bart Schaefer <schaefer@xxxxxxxxxxxxxxxx> wrote:
>
> none of
>
> : ${ function foo { ... } }
> : ${ foo() { ... } }
> : ${ function { ... } }
> : ${ () { ... } }
>
> are successfully parsed
They work at least with the current git HEAD?
Messages sorted by:
Reverse Date,
Date,
Thread,
Author