about summary refs log tree commit diff
path: root/Functions/Zle
diff options
context:
space:
mode:
authorBarton E. Schaefer <schaefer@zsh.org>2016-10-29 10:08:53 -0700
committerBarton E. Schaefer <schaefer@zsh.org>2016-10-29 10:08:53 -0700
commit87c951c6bd5f889ec849ea45353969b407f8d5d5 (patch)
treedaa87111f2081e27604fc06eb5e79b3e9105a54e /Functions/Zle
parentdd8b7566106fb4f571988b3cbc8cae26107629a3 (diff)
downloadzsh-87c951c6bd5f889ec849ea45353969b407f8d5d5.tar.gz
zsh-87c951c6bd5f889ec849ea45353969b407f8d5d5.tar.xz
zsh-87c951c6bd5f889ec849ea45353969b407f8d5d5.zip
unposted: add "--" to zle widget call for conventional sanity
Diffstat (limited to 'Functions/Zle')
-rw-r--r--Functions/Zle/bracketed-paste-magic2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zle/bracketed-paste-magic b/Functions/Zle/bracketed-paste-magic
index a82045e08..fb584d595 100644
--- a/Functions/Zle/bracketed-paste-magic
+++ b/Functions/Zle/bracketed-paste-magic
@@ -206,7 +206,7 @@ bracketed-paste-magic() {
 
     # Reprocess $PASTED as an actual paste this time
     zle -U - $PASTED$'\e[201~'	# append paste-end marker
-    zle .bracketed-paste "$@"
+    zle .bracketed-paste -- "$@"
     zle .split-undo
 
     # Arrange to display highlighting if necessary