1
0
Fork 0
mirror of git://git.code.sf.net/p/zsh/code synced 2025-10-22 16:20:23 +02:00

26795: further warning in POSIX_ALIASES

This commit is contained in:
Peter Stephenson 2009-03-26 09:53:21 +00:00
parent d5c5a1f987
commit aa529d0032
2 changed files with 11 additions and 2 deletions

View file

@ -1,3 +1,7 @@
2009-03-26 Peter Stephenson <pws@csr.com>
* 26795: Doc/Zsh/options.yo: further warning in POSIX_ALIASES.
2009-03-25 Peter Stephenson <pws@csr.com>
* 26783: Doc/Zsh/compsys.yo, Completion/Base/Completer/.distfiles,
@ -11493,5 +11497,5 @@
*****************************************************
* This is used by the shell to define $ZSH_PATCHLEVEL
* $Revision: 1.4638 $
* $Revision: 1.4639 $
*****************************************************

View file

@ -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)