From 4c1a3a89f0ade5be2330ce688cd3c3c649667f9a Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Mon, 14 Jun 2010 11:58:26 +0000 Subject: unposted: extra note on ZSH_EVAL_CONTEXT --- ChangeLog | 4 +++- Doc/Zsh/params.yo | 3 +++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index d053c39d3..2ee6f406d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,7 @@ 2010-06-14 Peter Stephenson + * unposted: Doc/Zsh/params.yo: extra note on ZSH_EVAL_CONTEXT. + * 28037: Src/exec.c, Src/math.c, Src/module.c, Test/V01zmodload.ztst: improved error messages for autoloading math functions and builtins (but not conditions). @@ -13289,5 +13291,5 @@ ***************************************************** * This is used by the shell to define $ZSH_PATCHLEVEL -* $Revision: 1.5003 $ +* $Revision: 1.5004 $ ***************************************************** diff --git a/Doc/Zsh/params.yo b/Doc/Zsh/params.yo index 817731fb0..b78896020 100644 --- a/Doc/Zsh/params.yo +++ b/Doc/Zsh/params.yo @@ -732,6 +732,9 @@ the array to indicate the type of operation that is being performed. Read in order the array gives an indication of the stack of operations being performed with the most immediate context last. +Note that the variable does not give information on syntactic context such +as pipelines or subshells. Use tt($ZSH_SUBSHELL) to detect subshells. + The context is one of the following: startitem() item(tt(cmdarg))( -- cgit 1.4.1