docs/source: document changes from

(cherry picked from commit b82d0fcbcc44eb259cf2209b04f7a41c1f324e27)
This commit is contained in:
David Adam 2025-02-26 21:30:57 +08:00
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.