summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChloƩ Vulquin <code@toast.bunkerlabs.net>2026-01-28 19:30:17 +0100
committerChloƩ Vulquin <code@toast.bunkerlabs.net>2026-01-28 19:30:17 +0100
commita30b93f2ca27fa0070b69b0c33fafba54bc42a3f (patch)
tree7b1bcb2c42a6c5adec2814e0a1f83222c444acbb
parentzsh: add LS_COLORS defaults and use them for completions (diff)
zsh: remove / from WORDCHARS
-rw-r--r--dot_config/zsh/zshrc.style5
1 files changed, 5 insertions, 0 deletions
diff --git a/dot_config/zsh/zshrc.style b/dot_config/zsh/zshrc.style
index fdb4584..32febcb 100644
--- a/dot_config/zsh/zshrc.style
+++ b/dot_config/zsh/zshrc.style
@@ -1,5 +1,10 @@
# -*- mode: sh -*-
# vim: ft=zsh
+
+# default -> remove the /
+[[ $WORDCHARS = '*?_-.[]~=/&;!#$%^(){}<>' ]] &&
+ WORDCHARS='*?_-.[]~=&;!#$%^(){}<>'
+
### ZStyle
## completion
# TODO: a lot of this is stolen from grml; probably figure out more details