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

The (e) parameter flag and side-effects



On Thu, Mar 9, 2023 at 11:28 AM Oliver Kiddle <opk@xxxxxxx> wrote:
>
> While using (e) is arguably the right thing to do, it will expand things
> like command-substitution and we've always intentionally shied away
> from expanding anything that could have side-effects when parsing the
> command-line for completion.

We could add a flag for that, though, I think; it would just need to
do the same trick I applied to subscript values in named references,
that is, toggle the EXECOPT flag off and back on around (or in) the
call to subst_parse_str().




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