all repos — nixfiles @ 60229d799d3656ce3b1dbe3a931788a8f5ca37b6

System and user configuration, managed by nix and home-manager

zsh: Change WORDCHARS in a more elegant way
Alan Pearce alan.pearce@spotcap.com
Tue, 05 Jul 2016 14:14:39 +0200
commit

60229d799d3656ce3b1dbe3a931788a8f5ca37b6

parent

d1d7ffb9b0c9409774ffd937db5d46300e9ffde7

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M tag-zsh/config/zsh/zshrctag-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