summary refs log tree commit diff
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2017-08-01 09:37:26 +0100
committerPeter Stephenson <pws@zsh.org>2017-08-01 09:37:26 +0100
commit27efa0efd43d1b5aa00c620710cf6d7568e3ca9b (patch)
treefc6194370eb269bb2c48316bfcd765a02183fb0f
parent8abbaefaee7af75943b2b427205d0ec4a52a9b7b (diff)
downloadzsh-27efa0efd43d1b5aa00c620710cf6d7568e3ca9b.tar.gz
zsh-27efa0efd43d1b5aa00c620710cf6d7568e3ca9b.tar.xz
zsh-27efa0efd43d1b5aa00c620710cf6d7568e3ca9b.zip
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.
-rw-r--r--ChangeLog6
-rw-r--r--Doc/Zsh/builtins.yo5
2 files changed, 10 insertions, 1 deletions
diff --git a/ChangeLog b/ChangeLog
index 99057ae87..ad2d453bd 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2017-08-01  Peter Stephenson  <p.stephenson@samsung.com>
+
+	* 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  <d.s@daniel.shahaf.name>
 
 	* 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,