From 60229d799d3656ce3b1dbe3a931788a8f5ca37b6 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Tue, 5 Jul 2016 14:14:39 +0200 Subject: zsh: Change WORDCHARS in a more elegant way --- tag-zsh/config/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tag-zsh/config') 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 -- cgit 1.4.1