all repos — nixfiles @ 425606c401e08026729af63dde44566ed150eb8e

System and user configuration, managed by nix and home-manager

zsh: stop word-movement commands at # signs
Alan Pearce alan@alanpearce.eu
Sun, 06 Aug 2023 20:06:12 +0200
commit

425606c401e08026729af63dde44566ed150eb8e

parent

eb896949d088a8429c5521279edf0479bf44453a

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M user/zsh/zshrcuser/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