diff --git a/.zshrc b/.zshrc index 5da6ba9..17fc2ce 100644 --- a/.zshrc +++ b/.zshrc @@ -7,8 +7,8 @@ # Customize spelling correction prompt. SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? ' -# Remove path separator from WORDCHARS. -WORDCHARS=${WORDCHARS//[\/]} +# Characters considered part of a word by the line editor +WORDCHARS="*?_-.~$" ###