about summary refs log tree commit diff
path: root/Doc/Zsh/builtins.yo
diff options
context:
space:
mode:
authorDaniel Shahaf <d.s@daniel.shahaf.name>2016-02-07 00:22:10 +0000
committerDaniel Shahaf <d.s@daniel.shahaf.name>2016-02-09 03:39:17 +0000
commitb0706d64eea55aebaad66a32510e40f41d15d32e (patch)
tree5bea2322de28f37934763a4c645f6aa579918c8c /Doc/Zsh/builtins.yo
parent17242572bcd15940b4f2df8200c3339f52d19aa5 (diff)
downloadzsh-b0706d64eea55aebaad66a32510e40f41d15d32e.tar.gz
zsh-b0706d64eea55aebaad66a32510e40f41d15d32e.tar.xz
zsh-b0706d64eea55aebaad66a32510e40f41d15d32e.zip
37896: zshbuiltins: Document argv behaviour of 'source' without arguments
Diffstat (limited to 'Doc/Zsh/builtins.yo')
-rw-r--r--Doc/Zsh/builtins.yo4
1 files changed, 4 insertions, 0 deletions
diff --git a/Doc/Zsh/builtins.yo b/Doc/Zsh/builtins.yo
index 542cecffc..c425ff1cd 100644
--- a/Doc/Zsh/builtins.yo
+++ b/Doc/Zsh/builtins.yo
@@ -81,6 +81,10 @@ then commands are read from that file instead of var(file).
 If any arguments var(arg) are given,
 they become the positional parameters; the old positional
 parameters are restored when the var(file) is done executing.
+However, if no arguments are given,
+the positional parameters remain those of the calling context,
+and no restoring is done.
+
 If var(file) was not found the return status is 127; if var(file) was found
 but contained a syntax error the return status is 126; else the return
 status is the exit status of the last command executed.