summaryrefslogtreecommitdiffstats
path: root/.zshrc
diff options
context:
space:
mode:
authorTharre <tharre3@gmail.com>2019-03-06 18:12:06 +0100
committerTharre <tharre3@gmail.com>2019-03-06 18:12:06 +0100
commit92bb09bc837b736d373e64b2312aea18bbdbb3b0 (patch)
tree64fb5aaf7ea095729c5971f9d9ea092b81402f37 /.zshrc
parenta4693c481bc5384f88a338b1774d3a87051995b6 (diff)
downloaddotfiles-92bb09bc837b736d373e64b2312aea18bbdbb3b0.tar.gz
dotfiles-92bb09bc837b736d373e64b2312aea18bbdbb3b0.tar.xz
dotfiles-92bb09bc837b736d373e64b2312aea18bbdbb3b0.zip
zsh: add WORDCHARS to make CTRL-W behave better
Diffstat (limited to '.zshrc')
-rw-r--r--.zshrc3
1 files changed, 3 insertions, 0 deletions
diff --git a/.zshrc b/.zshrc
index 0f9354b..f6beb89 100644
--- a/.zshrc
+++ b/.zshrc
@@ -17,6 +17,9 @@ alias wee='WEECHAT_PASSPHRASE="$(pass personal/weechat)" weechat'
alias which-command='whence'
alias ta='exec tmux new -A -s 1'
+# https://unix.stackexchange.com/questions/250690/how-to-configure-ctrlw-as-delete-word-in-zsh
+WORDCHARS=''
+
## zsh options
setopt extended_glob
setopt long_list_jobs # TODO:?