Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: PATCH: function copy
On Mon, Jul 15, 2019 at 2:51 PM Sebastian Gniazdowski
<sgniazdowski@xxxxxxxxx> wrote:
>
> I have a somewhat related idea which i will now invoke because of the
> nice use case it has – a module to add before and after set/get hooks
> for parameters.
Ksh has a syntax for this: ${varname.hookname} IIRC. The difficulty
with adopting this is that zsh's lexer has the definition of an
"identifier" fairly deeply embedded, it is nontrivial to add "." as a
valid character only when inside curly braces.
Messages sorted by:
Reverse Date,
Date,
Thread,
Author