mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-03-24 03:35:13 +08:00
docs/source: document changes from #10774
(cherry picked from commit b82d0fcbcc44eb259cf2209b04f7a41c1f324e27)
This commit is contained in:
parent
b52173c854
commit
bfa1e0dafb
@ -20,7 +20,7 @@ Description
|
||||
|
||||
fish will search the working directory to resolve relative paths but will not search :envvar:`PATH` .
|
||||
|
||||
If no file is specified and stdin is not the terminal, or if the file name ``-`` is used, stdin will be read.
|
||||
If no file is specified and a file or pipeline is connected to standard input, or if the file name ``-`` is used, ``source`` will read from standard input. If no file is specified and there is no redirected file or pipeline on standard input, an error will be printed.
|
||||
|
||||
The exit status of ``source`` is the exit status of the last job to execute. If something goes wrong while opening or reading the file, ``source`` exits with a non-zero status.
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user