zsh: Do NOT expand wildcard on tab completion
- by BMorgenthaler
I'm wondering how I can configure ZSH to NOT expand the wildcard in a filename. So for example I have a directory of a couple hundred files named like so:
a.foo-bar a.foo b.foo-bar b.foo c.foo-bar c.foo
I would like to be able to perform a tab completion matching AFTER a wildcard, so
cat *.foo-< tab = cat *.foo-bar
instead what I get is
cat *.foo-< tab = cat a.foo-bar
file
a.foo-bar b.foo-bar c.foo-bar