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

matcher-list question



How can I avoid this behaviour?

lama:~>zsh -f
lama% autoload -U compinit; compinit -C
lama% zstyle ":completion:*" matcher-list 'r:|[-./_]=* r:|=*' '+l:|=*'
lama% ls         
foo-bar-abc  foo-bar-def  foo-bar-geh
lama% ls bar<TAB>
lama% ls -foobar-

I'd really prefer:
lama% ls bar<TAB>
lama% ls foo-bar-

What am I doing wrong?

Thanks,
 Andy.

-- 
 Never apologize for showing feeling.
 When you do so, you apologize for the truth.  -- Benjamin Disraeli



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