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

Re: expanding nameref target?



On Tue, Feb 28, 2023 at 2:33 AM Mikael Magnusson <mikachu@xxxxxxxxx> wrote:
>
> What about (PP)? There is some precedent for doubling a flag to
> disable its effect. The downside is that (PP) already works and is
> treated like (P) but...

The other downside is that ${(P)nameref} would not be the "opposite"
of ${(PP)nameref}.  You'd go from two "dereferences" to zero.

Also I'd prefer ${(PP)...} to mean ${(P)${(P)...}} if that were
do-able (tho likely it isn't).




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