about summary refs log tree commit diff
path: root/Doc/Zsh/options.yo
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2017-07-26 16:56:23 +0100
committerPeter Stephenson <pws@zsh.org>2017-07-27 09:22:04 +0100
commitd4b94b5e8388c744a1d879fecb5af957b170c4c1 (patch)
tree56352f47635ef1436e0669aa85f2f570d9d3aec7 /Doc/Zsh/options.yo
parent18c3c12bf0dc0fdbfb9ff79ebf90475a1dadc606 (diff)
downloadzsh-d4b94b5e8388c744a1d879fecb5af957b170c4c1.tar.gz
zsh-d4b94b5e8388c744a1d879fecb5af957b170c4c1.tar.xz
zsh-d4b94b5e8388c744a1d879fecb5af957b170c4c1.zip
41464, 41466: With POSIX_BUILTINS, exec only executes sexternal commands.
Document the default behaviour and add a test.
Diffstat (limited to 'Doc/Zsh/options.yo')
-rw-r--r--Doc/Zsh/options.yo4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/Zsh/options.yo b/Doc/Zsh/options.yo
index cc6ae2a47..70092d681 100644
--- a/Doc/Zsh/options.yo
+++ b/Doc/Zsh/options.yo
@@ -2140,6 +2140,10 @@ In addition, various error conditions associated with the above builtins
 or tt(exec) cause a non-interactive shell to exit and an interactive
 shell to return to its top-level processing.
 
+Furthermore, functions and shell builtins are not executed after
+an tt(exec) prefix; the command to be executed must be an external
+command found in the path.
+
 Furthermore, the tt(getopts) builtin behaves in a POSIX-compatible
 fashion in that the associated variable tt(OPTIND) is not made
 local to functions.