From aea69f6e640a47f2f442bf58504c94dc8091e2ab Mon Sep 17 00:00:00 2001 From: Bart Schaefer Date: Fri, 19 May 2000 16:04:16 +0000 Subject: 11469: Locally unset the errexit option and ZERR trap. --- Completion/Commands/_complete_debug | 2 ++ 1 file changed, 2 insertions(+) (limited to 'Completion/Commands/_complete_debug') 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}" -- cgit 1.4.1