summary refs log tree commit diff stats
path: root/tag-zsh/config/zsh
diff options
context:
space:
mode:
authorAlan Pearce2016-07-05 14:14:39 +0200
committerAlan Pearce2016-07-05 14:51:04 +0200
commit60229d799d3656ce3b1dbe3a931788a8f5ca37b6 (patch)
tree67f2c864961933b33d7c8620acc416bdbf592e28 /tag-zsh/config/zsh
parentd1d7ffb9b0c9409774ffd937db5d46300e9ffde7 (diff)
downloadnixfiles-60229d799d3656ce3b1dbe3a931788a8f5ca37b6.tar.lz
nixfiles-60229d799d3656ce3b1dbe3a931788a8f5ca37b6.tar.zst
nixfiles-60229d799d3656ce3b1dbe3a931788a8f5ca37b6.zip
zsh: Change WORDCHARS in a more elegant way
Diffstat (limited to 'tag-zsh/config/zsh')
-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 6adb5481..7d57417a 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