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

How to overcome the (a/b/c…)(N) pattern limitation?



Hi
I was trying to do: ls (/tmp/somedir/gh|./gh)(N) to obtain the error
message:

zsh: bad pattern: (/tmp/somedir/gh|./gh)(N)

I think that logically these are useful, good patterns and I wonder if
there's is a way to easily obtain a working equivalent of them?

-- 
Sebastian Gniazdowski
News: https://twitter.com/ZdharmaI
IRC: https://kiwiirc.com/client/chat.freenode.net:+6697/#zinit
Blog: http://zdharma.org


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