summary refs log tree commit diff
path: root/Doc/Zsh
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2004-04-19 16:02:17 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2004-04-19 16:02:17 +0000
commitb5ceb73026791281532ea9638cadac491b27959b (patch)
treecf3a758d87070a5a6b7d8e003e1f015c41b7a9d9 /Doc/Zsh
parent55940daefb5b75bb929bda03612fafab6beedaff (diff)
downloadzsh-b5ceb73026791281532ea9638cadac491b27959b.tar.gz
zsh-b5ceb73026791281532ea9638cadac491b27959b.tar.xz
zsh-b5ceb73026791281532ea9638cadac491b27959b.zip
zsh-users/7365: new TRAPS_ASYNC option
Diffstat (limited to 'Doc/Zsh')
-rw-r--r--Doc/Zsh/options.yo9
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index aa22b016f..7f398cac6 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -1189,6 +1189,14 @@ item(tt(TRANSIENT_RPROMPT))(
 Remove any right prompt from display when accepting a command
 line.  This may be useful with terminals with other cut/paste methods.
 )
+pindex(TRAPS_ASYNC)
+cindex(traps, asynchronous)
+item(tt(TRAPS_ASYNC) <C> <Z>)(
+While waiting for a program to exit, run traps immediately.  Otherwise
+the trap is run after the program has exited.  Note this does not affect
+the point at which traps are run for any case other than when the shell is
+waiting for a child process.
+)
 pindex(TYPESET_SILENT)
 item(tt(TYPESET_SILENT))(
 If this is unset, executing any of the `tt(typeset)' family of
@@ -1366,6 +1374,7 @@ endsitem()
 subsect(sh/ksh emulation set)
 startsitem()
 sitem(tt(-C))(em(NO_)CLOBBER)
+sitem(tt(-T))(TRAPS_ASYNC)
 sitem(tt(-X))(MARK_DIRS)
 sitem(tt(-a))(ALL_EXPORT)
 sitem(tt(-b))(NOTIFY)