mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-01-21 00:01:26 +01:00
9 lines
239 B
Text
9 lines
239 B
Text
# This implements a bash-style kill-word.
|
|
# To use,
|
|
# zle -N bash-kill-word
|
|
# bindkey '...' bash-kill-word
|
|
# or if you wish to replace existing kill-word bindings,
|
|
# zle -N kill-word bash-kill-word
|
|
|
|
local WORDCHARS=''
|
|
zle .kill-word
|