about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--ChangeLog5
-rw-r--r--Functions/Zle/bash-backward-kill-word8
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 3e67fcf27..f8372ddbc 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2001-06-29  Clint Adams  <clint@zsh.org>
+
+	* Bart: 15083 plus comments: Functions/Zle/bash-backward-kill-word:
+	bash-style backward-kill-word function.
+
 2001-06-28  Wayne Davison  <wayned@users.sourceforge.net>
 
 	* 15172: Src/hist.c: Have prepnexthistent() remove any HIST_TEMPSTORE
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
+# }