diff options
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | Functions/Zle/edit-command-line | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog index ff9c23725..ed4e27934 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ 2002-11-12 Oliver Kiddle <opk@zsh.org> + * 17928: Zvi Har'El <rl@math.technion.ac.il>: + Functions/Zle/edit-command-line: don't interpret escapes when + setting the command buffer + * Thierry Vignaud <tvignaud@mandrakesoft.com>: Completion/Unix/Command/_links, Completion/Mandrake/Command/_urpmi: add option descriptions and missing options 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 |