From 9ecfa0842b73bb3b1253b2e95110f9b7ce91335f Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 12 May 2010 10:17:58 +0000 Subject: unposted: fix typo in previous commit --- Test/D04parameter.ztst | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'Test/D04parameter.ztst') diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 13a7af2e4..4594e62fd 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -1219,3 +1219,12 @@ >LOST >Subscript flags returning single values >STRING key= val= + + print $zsh_eval_context[1] + [[ $ZSH_EVAL_CONTEXT = ${(j.:.)zsh_eval_context} ]] || print Not equal! + (( icontext = ${#zsh_eval_context} + 1 )) + contextfn() { print $(print $zsh_eval_context[icontext,-1]); } + contextfn +0:$ZSH_EVAL_CONTEXT and $zsh_eval_context +>toplevel +>shfunc cmdsubst -- cgit 1.4.1