mirror of
git://git.code.sf.net/p/zsh/code
synced 2025-09-02 22:11:54 +02:00
37896: zshbuiltins: Document argv behaviour of 'source' without arguments
This commit is contained in:
parent
17242572bc
commit
b0706d64ee
2 changed files with 7 additions and 0 deletions
|
@ -1,5 +1,8 @@
|
|||
2016-02-09 Daniel Shahaf <d.s@daniel.shahaf.name>
|
||||
|
||||
* 37896: Doc/Zsh/builtins.yo: zshbuiltins: Document argv
|
||||
behaviour of 'source' without arguments
|
||||
|
||||
* unposted: ChangeLog: Move the 37678 entry to the correct
|
||||
location (and author).
|
||||
|
||||
|
|
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue