From aa529d0032ed64867fd27431a9c27c999891bbc3 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Thu, 26 Mar 2009 09:53:21 +0000 Subject: 26795: further warning in POSIX_ALIASES --- Doc/Zsh/options.yo | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'Doc') diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index d1e1eab52..cdce05aad 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -1721,7 +1721,12 @@ ifzman(the section RESERVED WORDS in zmanref(zshmisc)). Alias expansion takes place while text is being read; hence when this option is set it does not take effect until the end of any function or -other piece of shell code evaluated as one unit. +other piece of shell code evaluated as one unit. Note this may +cause differences from other shells even when the option is in +effect. For example, when running a command with `tt(zsh -c)' the +entire command argument is parsed in one go, so aliases defined within +the argument are not available even in later lines. If in doubt, avoid use +of aliases in non-interactive code. ) pindex(POSIX_BUILTINS) pindex(NO_POSIX_BUILTINS) -- cgit 1.4.1