Skip to content

Instantly share code, notes, and snippets.

@aayars
Last active June 15, 2025 16:55
Show Gist options
  • Select an option

  • Save aayars/36548030dfc297f2716dc510ed58dc99 to your computer and use it in GitHub Desktop.

Select an option

Save aayars/36548030dfc297f2716dc510ed58dc99 to your computer and use it in GitHub Desktop.
minimal .zshrc
# make backwards deletion respect word boundaries
autoload -Uz select-word-style
select-word-style bash
bindkey '\e\177' backward-kill-word
# add / as boundary
WORDCHARS=${WORDCHARS//\//}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment