From e8b56578db3d971b18d59a5c579ae19b70ec50a1 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 9 Jan 2007 21:59:31 +0000 Subject: users/11111: add DEBUG_BEFORE_CMD option --- Doc/Zsh/options.yo | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Doc/Zsh') diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 3790beaed..e1f3fc509 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -1009,6 +1009,14 @@ on the choice of the output base, nor on the output of bases other than hexadecimal and octal. Note that these formats will be understood on input irrespective of the setting of tt(C_BASES). ) +pindex(DEBUG_BEFORE_CMD) +cindex(traps, DEBUG, before or after command) +cindex(DEBUG trap, before or after command) +item(tt(DEBUG_BEFORE_CMD))( +Run the tt(DEBUG) trap before each command; otherwise it is run after +each command. Setting this option mimics the behaviour of ksh 93; with +the option unset the behaviour is that of ksh 88. +) pindex(ERR_EXIT) cindex(exit status, trapping) item(tt(ERR_EXIT) (tt(-e), ksh: tt(-e)))( -- cgit 1.4.1