summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2020-10-21 16:01:36 +0200
committerMarc Cornellà <marc.cornella@live.com>2020-10-21 16:02:34 +0200
commit3f42700c0d65cf26470d1e165b8ed80dfff9efca (patch)
tree83d48b19a0374b5bbaca5f50675d63ca60233d53 /lib
parent7d73908223222d3df7f36ed5a362fcfccd770ca5 (diff)
downloadzsh-3f42700c0d65cf26470d1e165b8ed80dfff9efca.tar.gz
zsh-3f42700c0d65cf26470d1e165b8ed80dfff9efca.tar.bz2
zsh-3f42700c0d65cf26470d1e165b8ed80dfff9efca.zip
Revert "lib: treat _ and - as part of a word"
This reverts commit 50dc4ab3574f4e265dff816d8d9a0195cd260152. The community has spoken: - https://github.com/ohmyzsh/ohmyzsh/issues/9367 - https://github.com/ohmyzsh/ohmyzsh/issues/8743 Fixes #9367
Diffstat (limited to 'lib')
-rw-r--r--lib/completion.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh
index a3873cd08..2b62785d5 100644
--- a/lib/completion.zsh
+++ b/lib/completion.zsh
@@ -1,7 +1,7 @@
# fixme - the load process here seems a bit bizarre
zmodload -i zsh/complist
-WORDCHARS='_-'
+WORDCHARS=''
unsetopt menu_complete # do not autoselect the first completion entry
unsetopt flowcontrol