about summary refs log tree commit diff
path: root/Completion/Base/Widget/_complete_debug
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Base/Widget/_complete_debug')
-rw-r--r--Completion/Base/Widget/_complete_debug1
1 files changed, 1 insertions, 0 deletions
diff --git a/Completion/Base/Widget/_complete_debug b/Completion/Base/Widget/_complete_debug
index 604486376..00f600e37 100644
--- a/Completion/Base/Widget/_complete_debug
+++ b/Completion/Base/Widget/_complete_debug
@@ -9,6 +9,7 @@ local pager w="${(qq)words}"
 integer debug_fd=-1
 {
   if [[ -t 2 ]]; then
+    mv -f =(:) $tmp &&
     exec {debug_fd}>&2 2>| $tmp
   fi