From 27efa0efd43d1b5aa00c620710cf6d7568e3ca9b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 1 Aug 2017 09:37:26 +0100 Subject: 41470: Another note on new effect of POSIX_BUILTINS exec now won't find precommand modifiers after it with the option set. This may need further attention. --- ChangeLog | 6 ++++++ Doc/Zsh/builtins.yo | 5 ++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 99057ae87..ad2d453bd 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2017-08-01 Peter Stephenson + + * 41470: Doc/Zsh/builtins.yo: note that 41464 stops exec finding + other precommand modifiers with POSIX_BUILTINS (for now, at + least). + 2017-08-01 Daniel Shahaf * 41474: Completion/Debian/Command/_pbuilder, diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 99b1dd45b..3afe990ba 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -679,7 +679,10 @@ See ifzman(the section `Precommand Modifiers' in zmanref(zshmisc))\ ifnzman(noderef(Precommand Modifiers)). If the option tt(POSIX_BUILTINS) is set, var(command) is never -interpreted as a shell builtin command or shell function. +interpreted as a shell builtin command or shell function. This +means further precommand modifiers such as tt(builtin) and +tt(noglob) are also not interpreted within the shell. Hence +var(command) is always found by searching the command path. cindex(redirection, current shell's I/O) If var(command) is omitted but any redirections are specified, -- cgit v1.2.3