summaryrefslogtreecommitdiff
path: root/lib/completion.zsh
diff options
context:
space:
mode:
authorMarc Cornellà <marc.cornella@live.com>2020-09-04 21:54:05 +0200
committerMarc Cornellà <marc.cornella@live.com>2020-09-04 21:54:05 +0200
commit50dc4ab3574f4e265dff816d8d9a0195cd260152 (patch)
treef1549757d0e5fd09920108e91e2d23398089a93a /lib/completion.zsh
parent28ee5846bbac56926241fc5ef9f116161ceb6f23 (diff)
downloadzsh-50dc4ab3574f4e265dff816d8d9a0195cd260152.tar.gz
zsh-50dc4ab3574f4e265dff816d8d9a0195cd260152.tar.bz2
zsh-50dc4ab3574f4e265dff816d8d9a0195cd260152.zip
lib: treat _ and - as part of a word
Fixes #8743
Diffstat (limited to 'lib/completion.zsh')
-rw-r--r--lib/completion.zsh2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/completion.zsh b/lib/completion.zsh
index 2b62785d5..a3873cd08 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