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/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