Skip to content

Commit

Permalink
Set WORDCHARS in the editor module
Browse files Browse the repository at this point in the history
  • Loading branch information
sorin-ionescu committed Apr 25, 2013
1 parent 80b203b commit b42479a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
3 changes: 0 additions & 3 deletions modules/completion/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
#
Expand Down
3 changes: 3 additions & 0 deletions modules/editor/init.zsh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit b42479a

Please sign in to comment.