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

Re: why not promote the plague ? (brace|rc|alternative|modern) syntax



On Fri, Dec 13, 2024 at 07:07:17PM -0500, Lawrence Velázquez wrote:
> Mikael's point was to distinguish between the alternative forms
> and the SHORT_LOOPS forms.  None of your examples works without
> SHORT_LOOPS

thanks for noticing. which leads me to open zshmisc(1) and read
read "ALTERNATE FORMS FOR COMPLEX COMMANDS". TIL that my coding
style is actually a mix of the alternative form and SHORT_LOOPS
and the difference is subtile:

	« The  short  versions  below only work if sublist is of the form `{
	list }' or if the SHORT_LOOPS option is set »

regards
-- 
Marc Chantreux




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