From 166d91a4809fff831c77084d318d3e4a7a9b6743 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Wed, 16 Mar 2011 20:53:57 +0000 Subject: 28896: unset `monitor' option while the widget is running to avoid accidential data loss. --- Functions/Zle/edit-command-line | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Functions/Zle/edit-command-line') diff --git a/Functions/Zle/edit-command-line b/Functions/Zle/edit-command-line index 250cac65f..efcc4b957 100644 --- a/Functions/Zle/edit-command-line +++ b/Functions/Zle/edit-command-line @@ -6,6 +6,8 @@ # will give ksh-like behaviour for that key, # except that it will handle multi-line buffers properly. +setopt local_options no_monitor + local tmpfile=${TMPPREFIX:-/tmp/zsh}ecl$$ print -R - "$PREBUFFER$BUFFER" >$tmpfile -- cgit 1.4.1