I have the following in my .zshrc
for case-insensitive tab completion. I encountered a situation where the tab completion fails, and I can't figure out why.
autoload -U compinit && compinit
zstyle ':completion:*' matcher-list '' 'm:{[:lower:][:upper:]}={[:upper:][:lower:]}' '+l:|=* r:|=*'
$ ls
Elephant/ ElephantExample/
$ cd ex[TAB] # completion doesn't do anything here
$ cd x[TAB] # completion works as expected --> ElephantExample/
$ cd E[TAB] # completion works as expected --> Elephant
$ cd e[TAB] # completion works as expected --> Elephant
Can someone help explain this to me? Is this a bug with zsh?
EDIT: I'm using "zsh 5.0.7 (x86_64-apple-darwin13.4.0)"
zsh -f
then running run compinit, add the zstyle, then try..zshrc
correct? Just tried it and I get the same results.