summary refs log tree commit diff
path: root/Functions/Zle
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2003-07-07 14:43:23 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2003-07-07 14:43:23 +0000
commit9deb9a4e9675040e581034e2227397181264ce0b (patch)
tree52d00268acf3798f1f693420ec65991c3eba3764 /Functions/Zle
parent1b47d4b48210e29ac6376a36a8d09ab83d9b3eb1 (diff)
downloadzsh-9deb9a4e9675040e581034e2227397181264ce0b.tar.gz
zsh-9deb9a4e9675040e581034e2227397181264ce0b.tar.xz
zsh-9deb9a4e9675040e581034e2227397181264ce0b.zip
18824: kill-word-match deleted to end of line.
Diffstat (limited to 'Functions/Zle')
-rw-r--r--Functions/Zle/kill-word-match2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zle/kill-word-match b/Functions/Zle/kill-word-match
index 9d21c4a15..1bee0708a 100644
--- a/Functions/Zle/kill-word-match
+++ b/Functions/Zle/kill-word-match
@@ -26,7 +26,7 @@ while (( count-- )); do
 	    killring=("$CUTBUFFER" "${(@)killring[1,-2]}")
 	    CUTBUFFER=$word
 	fi
-	RBUFFER=$matched_words[6]
+	RBUFFER=${(j..)matched_words[6,7]}
     else
 	return 1
     fi