1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-23 04:30:24 +02:00

17928: Zvi Har'El: don't interpret escapes when setting the command buffer

This commit is contained in:
Oliver Kiddle 2002-11-12 12:09:47 +00:00
parent b10cb015c6
commit 43136502b7
2 changed files with 5 additions and 1 deletions

View file

@ -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