summary refs log tree commit diff stats
path: root/user
diff options
context:
space:
mode:
authorAlan Pearce2023-08-06 20:06:12 +0200
committerAlan Pearce2023-08-06 20:13:34 +0200
commit425606c401e08026729af63dde44566ed150eb8e (patch)
treeed17e1629db037011d1e97e74fb0bee1a1337cae /user
parenteb896949d088a8429c5521279edf0479bf44453a (diff)
downloadnixfiles-425606c401e08026729af63dde44566ed150eb8e.tar.lz
nixfiles-425606c401e08026729af63dde44566ed150eb8e.tar.zst
nixfiles-425606c401e08026729af63dde44566ed150eb8e.zip
zsh: stop word-movement commands at # signs
Diffstat (limited to 'user')
-rw-r--r--user/zsh/zshrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/user/zsh/zshrc b/user/zsh/zshrc
index 0331a083..235d8447 100644
--- a/user/zsh/zshrc
+++ b/user/zsh/zshrc
@@ -3,7 +3,7 @@ setopt hist_ignore_space
 setopt inc_append_history_time
 setopt transient_rprompt
 
-WORDCHARS=${${WORDCHARS//[-.=]}//[\/]}
+WORDCHARS=${${WORDCHARS//[.=#]}//[\/]}
 
 zmodload zsh/terminfo