about summary refs log tree commit diff
path: root/Functions/Zle
diff options
context:
space:
mode:
Diffstat (limited to 'Functions/Zle')
-rw-r--r--Functions/Zle/bash-backward-kill-word8
1 files changed, 8 insertions, 0 deletions
diff --git a/Functions/Zle/bash-backward-kill-word b/Functions/Zle/bash-backward-kill-word
new file mode 100644
index 000000000..a85c9ba3e
--- /dev/null
+++ b/Functions/Zle/bash-backward-kill-word
@@ -0,0 +1,8 @@
+# function bash-backward-kill-word {
+# This implements a bash-style backward-kill-word.
+# To use,
+#   zle -N bash-backward-kill-word
+#   bindkey '...' bash-backward-kill-word
+local WORDCHARS=''
+zle .backward-kill-word
+# }