On 8/13/2017 7:07 PM, Bart Schaefer wrote:
Wow, it never dawned on me that I could just use it as a glob qualifier. I'd be trying to do it with ${~..} and ${~~..} with no luck.FUNCS=( $SD/autoload/*(:t) )
Thank you!
I've read about but not yet played around with the e flag yet, but I've heard of it. :)Oh, and if you want something more complicated, the above is equivalent to using the "e" glob qualifier like so: $SD/autoload/*(e?'reply=( "$REPLY:t" )'?) So you can do any substitution tricks you want on $REPLY. Just remember that it will contain exactly one filename at a time.
Thanks again Bart! -- -Clint