Consider the following command which runs flawlessly using bash:
java -classpath bin:lib/* FunctionalTests.TestRunner
The classes are in bin, jars are in lib, main() is in bin/FunctionalTests/TestRunner:
.
├── bin
├── lib
│ ├── commons-collections-3.2.1.jar
│ ├── commons-httpclient-3.1.jar
│ ├── commons-io-2.1.jar
│ ├── commons-lang-2.4.jar
│ ├── commons-logging-1.1.1.jar
│ └── ...
└── src
When the same command runs with zsh, the output is:
zsh: no matches found: ./bin:./lib/*
Any ideas?
It boils down to another pair of quotes:
Hope it helps someone in the future.