Add old-omz-completion plugin

This commit is contained in:
Jasonm23 2017-01-28 18:58:31 +08:00
parent d2725d44fc
commit baa94ecc17
2 changed files with 10 additions and 0 deletions

View File

@ -0,0 +1,9 @@
## Description
This plugin restores the original oh-my-zsh completion. Hyphen, underscore and dot are treated as wildcards.
For example `cd /etc/i.d TAB` would expand to `/etc/init.d`. The new completion (introduced last year) breaks this completion stlye.
For more info see:
https://github.com/robbyrussell/oh-my-zsh/issues/5560

View File

@ -0,0 +1 @@
zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*'