diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2000-05-19 16:04:16 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2000-05-19 16:04:16 +0000 |
commit | aea69f6e640a47f2f442bf58504c94dc8091e2ab (patch) | |
tree | 02f4c0764f6aaecb17a659c419dbb24e51ee1e79 /Completion/Commands | |
parent | 529158f82f1959019c21c0d6e7081a6dae677401 (diff) | |
download | zsh-aea69f6e640a47f2f442bf58504c94dc8091e2ab.tar.gz zsh-aea69f6e640a47f2f442bf58504c94dc8091e2ab.tar.xz zsh-aea69f6e640a47f2f442bf58504c94dc8091e2ab.zip |
11469: Locally unset the errexit option and ZERR trap.
Diffstat (limited to 'Completion/Commands')
-rw-r--r-- | Completion/Commands/_complete_debug | 2 |
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}" |