Make the zsh zle handle "words" correctly

Snippet from my .zshrc:

# This controls what the line editor considers a word. By default it
# includes '/', which makes it so that when I M-del (attempting to erase
# a directory in a path), I erase the whole path. Annoying.
# WORDCHARS='*?_-.[]~=/&;!#$%^(){}<>' # (default)

After living with this for a while, I realize that I should probably remove the underscore too, since that's what I was used to in bash.

Posted on 2010-01-27 by brian in zsh .
Comments on this post are closed. If you have something to share, please send me email.