diff options
author | Alan Pearce | 2016-07-05 14:14:39 +0200 |
---|---|---|
committer | Alan Pearce | 2016-07-05 14:51:04 +0200 |
commit | 60229d799d3656ce3b1dbe3a931788a8f5ca37b6 (patch) | |
tree | 67f2c864961933b33d7c8620acc416bdbf592e28 /tag-zsh/config/zsh | |
parent | d1d7ffb9b0c9409774ffd937db5d46300e9ffde7 (diff) | |
download | nixfiles-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/zshrc | 2 |
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 |