Revert "lib: treat _ and - as part of a word"

This reverts commit 50dc4ab357.

The community has spoken:
- https://github.com/ohmyzsh/ohmyzsh/issues/9367
- https://github.com/ohmyzsh/ohmyzsh/issues/8743

Fixes #9367
This commit is contained in:
Marc Cornellà 2020-10-21 16:01:36 +02:00
parent 7d73908223
commit 3f42700c0d

View file

@ -1,7 +1,7 @@
# fixme - the load process here seems a bit bizarre # fixme - the load process here seems a bit bizarre
zmodload -i zsh/complist zmodload -i zsh/complist
WORDCHARS='_-' WORDCHARS=''
unsetopt menu_complete # do not autoselect the first completion entry unsetopt menu_complete # do not autoselect the first completion entry
unsetopt flowcontrol unsetopt flowcontrol