zsh: Change WORDCHARS in a more elegant way
Alan Pearce alan.pearce@spotcap.com
Tue, 05 Jul 2016 14:14:39 +0200
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M tag-zsh/config/zsh/zshrc → 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