mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 10:01:11 +02:00
17928: Zvi Har'El: don't interpret escapes when setting the command buffer
This commit is contained in:
parent
b10cb015c6
commit
43136502b7
2 changed files with 5 additions and 1 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue