about summary refs log tree commit diff
path: root/Doc/Zsh/options.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@users.sourceforge.net>2010-09-12 18:56:40 +0000
committerPeter Stephenson <pws@users.sourceforge.net>2010-09-12 18:56:40 +0000
commitade705cf5b36cdaad29ec7e21796adc3a0854f2c (patch)
tree1be48025d7b94a02a9928ab010ba5d490e2bd5fc /Doc/Zsh/options.yo
parent154b7351f4b246077ef03217f33b11de27c350f9 (diff)
downloadzsh-ade705cf5b36cdaad29ec7e21796adc3a0854f2c.tar.gz
zsh-ade705cf5b36cdaad29ec7e21796adc3a0854f2c.tar.xz
zsh-ade705cf5b36cdaad29ec7e21796adc3a0854f2c.zip
28253: document -h argument to atribute commands
Diffstat (limited to 'Doc/Zsh/options.yo')
-rw-r--r--Doc/Zsh/options.yo13
1 files changed, 13 insertions, 0 deletions
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index a86fbe68e..342df4680 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -1876,6 +1876,19 @@ If multibyte character support is not compiled into the shell this option is
 ignored; all octets with the top bit set may be used in identifiers.
 This is non-standard but is the traditional zsh behaviour.
 )
+pindex(POSIX_TRAPS)
+pindex(NO_POSIX_TRAPS)
+pindex(POSIXTRAPS)
+pindex(NOPOSIXTRAPS)
+cindex(traps, on function exit)
+cindex(traps, POSIX compatibility)
+item(tt(POSIX_TRAPS) <K> <S>)(
+When the is option is set, the usual zsh behaviour of executing
+traps for tt(EXIT) on exit from shell functions is suppressed.
+In that case, manipulating tt(EXIT) traps always alters the global
+trap for exiting the shell; the tt(LOCAL_TRAPS) option is
+ignored for the tt(EXIT) trap.
+)
 pindex(SH_FILE_EXPANSION)
 pindex(NO_SH_FILE_EXPANSION)
 pindex(SHFILEEXPANSION)