Browse Source

Set WORDCHARS in the editor module

master
Sorin Ionescu 11 years ago
parent
commit
b42479a7c7
  1. 3
      modules/completion/init.zsh
  2. 3
      modules/editor/init.zsh

3
modules/completion/init.zsh

@ -30,9 +30,6 @@ setopt AUTO_PARAM_SLASH # If completed parameter is a directory, add a traili @@ -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
#

3
modules/editor/init.zsh

@ -57,6 +57,9 @@ setopt BEEP @@ -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

Loading…
Cancel
Save