Square brackets are interpreted as a pattern on the command line. Two improvements over the default behavior.
Originally published via bitsy.ai
I’ve been using zsh and ohmyz.sh for years, but I still occasionally forget this shell interprets square brackets as a pattern on the command line.
Here’s an example:
$ which $SHELL
/usr/bin/zsh
$ pip install -e .[develop,plugins]
zsh: no matches found: [develop,plugins]
Instead of installing the…