50dc4ab3574f4e265dff816d8d9a0195cd260152
- Author
- Marc Cornellà <marc.cornella@live.com>
- Committer
- Marc Cornellà <marc.cornella@live.com>
- Date
Message
lib: treat _ and - as part of a word
Fixes #8743
Diff
1diff --git a/lib/completion.zsh b/lib/completion.zsh
2index 2b62785d50e798d4a6e7b25d6e954bafbb65a7a3..a3873cd08d68ddd5218bf85f565e1a37bcc8d8fc 100644
3--- a/lib/completion.zsh
4+++ b/lib/completion.zsh
5@@ -1,7 +1,7 @@
6 # fixme - the load process here seems a bit bizarre
7 zmodload -i zsh/complist
8
9-WORDCHARS=''
10+WORDCHARS='_-'
11
12 unsetopt menu_complete # do not autoselect the first completion entry
13 unsetopt flowcontrol