about summary refs log tree commit diff
path: root/Functions
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2002-11-12 12:09:47 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2002-11-12 12:09:47 +0000
commit43136502b7b7b40e57b49a5e67b7097080ed743a (patch)
treea8db27ceb0480106257912bd669c3fbb7c27a9d6 /Functions
parentb10cb015c6e13481fdb1aaaa663d2f9e728796a9 (diff)
downloadzsh-43136502b7b7b40e57b49a5e67b7097080ed743a.tar.gz
zsh-43136502b7b7b40e57b49a5e67b7097080ed743a.tar.xz
zsh-43136502b7b7b40e57b49a5e67b7097080ed743a.zip
17928: Zvi Har'El: don't interpret escapes when setting the command buffer
Diffstat (limited to 'Functions')
-rw-r--r--Functions/Zle/edit-command-line2
1 files changed, 1 insertions, 1 deletions
diff --git a/Functions/Zle/edit-command-line b/Functions/Zle/edit-command-line
index a7c26e542..f11a37482 100644
--- a/Functions/Zle/edit-command-line
+++ b/Functions/Zle/edit-command-line
@@ -11,7 +11,7 @@ local tmpfile=${TMPPREFIX:-/tmp/zsh}ecl$$
 print -R - "$PREBUFFER$BUFFER" >$tmpfile
 exec </dev/tty
 ${VISUAL:-${EDITOR:-vi}} $tmpfile
-print -z - "$(<$tmpfile)" 
+print -Rz - "$(<$tmpfile)" 
 
 command rm -f $tmpfile
 zle send-break		# Force reload from the buffer stack