about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2007-01-09 21:59:31 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2007-01-09 21:59:31 +0000
commite8b56578db3d971b18d59a5c579ae19b70ec50a1 (patch)
tree746613cf3c5d42d24ebe65cad8bca1b0566f042a /Doc
parentde815e3d22be721c09d6f0bc1896207cc3e3827b (diff)
downloadzsh-e8b56578db3d971b18d59a5c579ae19b70ec50a1.tar.gz
zsh-e8b56578db3d971b18d59a5c579ae19b70ec50a1.tar.xz
zsh-e8b56578db3d971b18d59a5c579ae19b70ec50a1.zip
users/11111: add DEBUG_BEFORE_CMD option
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/options.yo8
1 files changed, 8 insertions, 0 deletions
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)))(