From 309708418b4a22791e03577b5dcd11c3a07a9886 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 3 Mar 2009 17:35:29 +0000 Subject: 26676: redirect POSIX_ALIASES readers to reserved word doc --- Doc/Zsh/options.yo | 28 +++------------------------- 1 file changed, 3 insertions(+), 25 deletions(-) (limited to 'Doc') diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo index 70038c8c6..d1e1eab52 100644 --- a/Doc/Zsh/options.yo +++ b/Doc/Zsh/options.yo @@ -1715,31 +1715,9 @@ pindex(NOPOSIXALIASES) item(tt(POSIX_ALIASES) )( When this option is set, reserved words are not candidates for alias expansion: it is still possible to declare any of them as an alias, -but the alias will never be expanded. Reserved words are -tt(!), -tt([[), -tt({), -tt(}), -tt(case), -tt(coproc), -tt(do), -tt(done), -tt(elif), -tt(else), -tt(end), -tt(esac), -tt(fi), -tt(for), -tt(foreach), -tt(function), -tt(if), -tt(nocorrect), -tt(repeat), -tt(select), -tt(then), -tt(time), -tt(until), -tt(while). +but the alias will never be expanded. Reserved words are described in +ifnzman(noderef(Reserved Words))\ +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 -- cgit 1.4.1