mirror of
git://git.code.sf.net/p/zsh/code
synced 2024-11-19 21:44:11 +01:00
10 lines
239 B
Plaintext
10 lines
239 B
Plaintext
# 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
|