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

Re[2]: Brace expansion vs. TAB



> > *.(hpp|cpp)
> (...)
> > or for that matter, *.[hc]pp
>
> Nope.  Doesn't match header files wit .h suffix.

You can combine both suggestions to

*.[hc](|pp|xx)

which is a little bit shorter than *.(c|h|cpp|hpp|cxx|hxx)


Manuel.




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