Browse Source

Set WORDCHARS in the editor module

master
Sorin Ionescu 12 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
unsetopt MENU_COMPLETE # Do not autoselect the first completion entry. unsetopt MENU_COMPLETE # Do not autoselect the first completion entry.
unsetopt FLOW_CONTROL # Disable start/stop characters in shell editor. unsetopt FLOW_CONTROL # Disable start/stop characters in shell editor.
# Treat these characters as part of a word.
WORDCHARS='*?_-.[]~&;!#$%^(){}<>'
# #
# Styles # Styles
# #

3
modules/editor/init.zsh

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

Loading…
Cancel
Save