summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2016-07-05 14:14:39 +0200
committerAlan Pearce2016-07-05 14:51:04 +0200
commit60229d799d3656ce3b1dbe3a931788a8f5ca37b6 (patch)
tree67f2c864961933b33d7c8620acc416bdbf592e28
parentd1d7ffb9b0c9409774ffd937db5d46300e9ffde7 (diff)
downloaddotfiles-60229d799d3656ce3b1dbe3a931788a8f5ca37b6.tar.lz
dotfiles-60229d799d3656ce3b1dbe3a931788a8f5ca37b6.tar.zst
dotfiles-60229d799d3656ce3b1dbe3a931788a8f5ca37b6.zip
zsh: Change WORDCHARS in a more elegant way
-rw-r--r--tag-zsh/config/zsh/zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/tag-zsh/config/zsh/zshrc b/tag-zsh/config/zsh/zshrc
index 6adb548..7d57417 100644
--- a/tag-zsh/config/zsh/zshrc
+++ b/tag-zsh/config/zsh/zshrc
@@ -9,7 +9,7 @@ zplug "clvv/fasd", hook-build:"PREFIX=$HOME make install"
 zplug "tymm/zsh-directory-history", as:command, use:"dir{hist,log}"
 zplug "tymm/zsh-directory-history", as:plugin
 
-WORDCHARS='*?_[]~&;!#$%^(){}<>'
+WORDCHARS=${${WORDCHARS//[-.]}//[\/]}
 
 if [[ ${path[(I)$HOME/bin ]} ]]
 then