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

Re: mysterious newline



Ray Andrews wrote on Fri, 20 Nov 2026 13:04 +00:00:
> Gotta learn these 'subscript flags'. Half the battle is knowing what 
> various syntactic elements are even called. Googling for '(w)' isn't 
> helpful.

You can sidestep the problem by using completion:

    % : ${foo[(<TAB>
.
will give you a brief summary of all those whatever-they're-called's.
Also, if the «format» zstyle is set appropriately, it will literally say
"subscript flag" at the top of the list.

Or you could do a whole-words search for "w" in the entire manual.
There aren't usually that many matches.  That's admittedly less than
elegant; perhaps we should add index entries for these.




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