From 9deb9a4e9675040e581034e2227397181264ce0b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 7 Jul 2003 14:43:23 +0000 Subject: 18824: kill-word-match deleted to end of line. --- Functions/Zle/kill-word-match | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Functions') 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 -- cgit 1.4.1