diff options
author | Peter Stephenson <pws@zsh.org> | 2017-09-13 10:47:16 +0100 |
---|---|---|
committer | Peter Stephenson <pws@zsh.org> | 2017-09-13 10:47:16 +0100 |
commit | 91484e0d420e9ffcd9a0b0d6b893c213d16ffebd (patch) | |
tree | 6d51bc8da4dbd53c0493fcecfb172c29bec9b780 /Doc | |
parent | e8780e11edebf6448bcf27ecfd3286bcab85d661 (diff) | |
download | zsh-91484e0d420e9ffcd9a0b0d6b893c213d16ffebd.tar.gz zsh-91484e0d420e9ffcd9a0b0d6b893c213d16ffebd.tar.xz zsh-91484e0d420e9ffcd9a0b0d6b893c213d16ffebd.zip |
41679: slight clarification on exec of builtins
Diffstat (limited to 'Doc')
-rw-r--r-- | Doc/Zsh/builtins.yo | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo index 3afe990ba..d6aa078a0 100644 --- a/Doc/Zsh/builtins.yo +++ b/Doc/Zsh/builtins.yo @@ -669,7 +669,7 @@ an empty string or whitespace) the return status is zero. item(tt(exec) [ tt(-cl) ] [ tt(-a) var(argv0) ] [ var(command) [ var(arg) ... ] ])( Replace the current shell with var(command) rather than forking. If var(command) is a shell builtin command or a shell function, -the shell executes it, then immediately exits. +the shell executes it, and exits when the command is complete. With tt(-c) clear the environment; with tt(-l) prepend tt(-) to the tt(argv[0]) string of the command executed (to simulate a login shell); |