summary refs log tree commit diff
path: root/Functions/Zle/backward-kill-word-match
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-11-10 14:30:22 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-11-10 14:30:22 +0000
commitaa7e584ee80ca8a7107c7af59fd827a399ac93cd (patch)
tree37fddc71d3a7418e11994f29b2e4d835697c6575 /Functions/Zle/backward-kill-word-match
parent50c2a44e71ad38d5f1daba65f2b5ea9a65d4cf40 (diff)
downloadzsh-aa7e584ee80ca8a7107c7af59fd827a399ac93cd.tar.gz
zsh-aa7e584ee80ca8a7107c7af59fd827a399ac93cd.tar.xz
zsh-aa7e584ee80ca8a7107c7af59fd827a399ac93cd.zip
Mikael Magnusson, 24076; 24081: cancel argument processing after widget
calls with general arguments
Diffstat (limited to 'Functions/Zle/backward-kill-word-match')
-rw-r--r--Functions/Zle/backward-kill-word-match2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zle/backward-kill-word-match b/Functions/Zle/backward-kill-word-match
index 28f7e76ee..ded4db2b5 100644
--- a/Functions/Zle/backward-kill-word-match
+++ b/Functions/Zle/backward-kill-word-match
@@ -23,7 +23,7 @@ while (( count-- )); do
     if [[ -n $done || $LASTWIDGET = *kill* ]]; then
       CUTBUFFER="$word$CUTBUFFER"
     else
-      zle copy-region-as-kill "$word"
+      zle copy-region-as-kill -- "$word"
     fi
     LBUFFER=$matched_words[1]
   else