diff options
author | Oliver Kiddle <opk@users.sourceforge.net> | 2002-11-12 12:09:47 +0000 |
---|---|---|
committer | Oliver Kiddle <opk@users.sourceforge.net> | 2002-11-12 12:09:47 +0000 |
commit | 43136502b7b7b40e57b49a5e67b7097080ed743a (patch) | |
tree | a8db27ceb0480106257912bd669c3fbb7c27a9d6 /Functions | |
parent | b10cb015c6e13481fdb1aaaa663d2f9e728796a9 (diff) | |
download | zsh-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-line | 2 |
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 |