Set WORDCHARS in the editor module

This commit is contained in:
Sorin Ionescu 2013-04-25 19:05:07 -04:00
parent 80b203bcd3
commit b42479a7c7
2 changed files with 3 additions and 3 deletions

View File

@ -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
#

View File

@ -57,6 +57,9 @@ setopt BEEP
# Variables
#
# Treat these characters as part of a word.
WORDCHARS='*?_-.[]~&;!#$%^(){}<>'
# Use human-friendly identifiers.
zmodload zsh/terminfo
typeset -gA key_info