Skip to content

Commit 50dc4ab

Browse files
committed
lib: treat _ and - as part of a word
Fixes ohmyzsh#8743
1 parent 28ee584 commit 50dc4ab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/completion.zsh

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# fixme - the load process here seems a bit bizarre
22
zmodload -i zsh/complist
33

4-
WORDCHARS=''
4+
WORDCHARS='_-'
55

66
unsetopt menu_complete # do not autoselect the first completion entry
77
unsetopt flowcontrol

0 commit comments

Comments
 (0)