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 --- Doc/Zsh/params.yo | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Doc') 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