diff --git a/modules/completion/init.zsh b/modules/completion/init.zsh index 042e1a03..3ffad633 100644 --- a/modules/completion/init.zsh +++ b/modules/completion/init.zsh @@ -30,9 +30,6 @@ setopt AUTO_PARAM_SLASH # If completed parameter is a directory, add a traili unsetopt MENU_COMPLETE # Do not autoselect the first completion entry. unsetopt FLOW_CONTROL # Disable start/stop characters in shell editor. -# Treat these characters as part of a word. -WORDCHARS='*?_-.[]~&;!#$%^(){}<>' - # # Styles # diff --git a/modules/editor/init.zsh b/modules/editor/init.zsh index d76c6057..d4a75bb8 100644 --- a/modules/editor/init.zsh +++ b/modules/editor/init.zsh @@ -53,6 +53,9 @@ fi # Beep on error in line editor. setopt BEEP +# Treat these characters as part of a word. +WORDCHARS='*?_-.[]~&;!#$%^(){}<>' + # # Variables #