about summary refs log tree commit diff
diff options
context:
space:
mode:
authorClint Adams <clint@users.sourceforge.net>2001-06-29 13:47:32 +0000
committerClint Adams <clint@users.sourceforge.net>2001-06-29 13:47:32 +0000
commit0b8e4008b63cafea7d13cd6340261c9af12362e3 (patch)
tree3b0d95991ebd3853bc73b224c691c198be7556e5
parentc2277ed220d0ebbc3cdc674d6ac4ddb308f8e69c (diff)
downloadzsh-0b8e4008b63cafea7d13cd6340261c9af12362e3.tar.gz
zsh-0b8e4008b63cafea7d13cd6340261c9af12362e3.tar.xz
zsh-0b8e4008b63cafea7d13cd6340261c9af12362e3.zip
Bart15083: bash-backward-kill-word
-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
+# }