diff options
Diffstat (limited to 'Functions/Zle/edit-command-line')
-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 4a9b10a1a..62a59a72e 100644 --- a/Functions/Zle/edit-command-line +++ b/Functions/Zle/edit-command-line @@ -10,7 +10,7 @@ local tmpfile=${TMPPREFIX:-/tmp/zsh}ecl$$ print -R - "$PREBUFFER$BUFFER" >$tmpfile exec </dev/tty -${VISUAL:-${EDITOR:-vi}} $tmpfile +${=${VISUAL:-${EDITOR:-vi}}} $tmpfile print -Rz - "$(<$tmpfile)" command rm -f $tmpfile |