From deed47c13656d1cf2651e12871817830d0c0a05a Mon Sep 17 00:00:00 2001 From: Joseph Irwin Date: Thu, 18 Apr 2013 15:06:36 +0900 Subject: [PATCH] Set WORDCHARS in the editor module Set WORDCHARS in the editor module instead of in the completion module. --- modules/completion/init.zsh | 3 --- modules/editor/init.zsh | 3 +++ 2 files changed, 3 insertions(+), 3 deletions(-) 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 #