From 530d6337e69941a5cd802fa7808aae8f33ab1fe9 Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Tue, 24 Sep 2019 10:07:32 -0700 Subject: unposted (see 44772): quote the string argument to zle -U --- Functions/Zle/bracketed-paste-magic | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Functions') diff --git a/Functions/Zle/bracketed-paste-magic b/Functions/Zle/bracketed-paste-magic index 4baae823e..840091b44 100644 --- a/Functions/Zle/bracketed-paste-magic +++ b/Functions/Zle/bracketed-paste-magic @@ -162,7 +162,7 @@ bracketed-paste-magic() { # There are active widgets. Reprocess $PASTED as keystrokes. NUMERIC=1 - zle -U - $PASTED + zle -U - "$PASTED" # Just in case there are active undo widgets @@ -212,7 +212,7 @@ bracketed-paste-magic() { # Arrange to display highlighting if necessary if [[ -z $zle_highlight || -n ${(M)zle_highlight:#paste:*} ]]; then zle -R - zle .read-command && zle -U - $KEYS + zle .read-command && zle -U - "$KEYS" fi } -- cgit 1.4.1