summary refs log tree commit diff
path: root/Completion/Commands/_complete_debug
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Commands/_complete_debug')
-rw-r--r--Completion/Commands/_complete_debug2
1 files changed, 2 insertions, 0 deletions
diff --git a/Completion/Commands/_complete_debug b/Completion/Commands/_complete_debug
index cbbe41e43..7672c75ea 100644
--- a/Completion/Commands/_complete_debug
+++ b/Completion/Commands/_complete_debug
@@ -3,6 +3,8 @@
 setopt localoptions nullglob rcexpandparam extendedglob
 unsetopt markdirs globsubst shwordsplit nounset ksharrays
 
+setopt localtraps noerrexit ; trap - ZERR
+
 (( $+_debug_count )) || integer -g _debug_count
 local tmp=${TMPPREFIX}${$}${words[1]:t}$[++_debug_count]
 local w="${(qq)words}"