From d7e545d89b039a82be928a7da00804af1bb71429 Mon Sep 17 00:00:00 2001 From: Osamu Aoki Date: Sat, 9 Nov 2019 11:00:42 +0900 Subject: [PATCH] "source" to identify itself as a "block" first Signed-off-by: Osamu Aoki --- sphinx_doc_src/cmds/source.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sphinx_doc_src/cmds/source.rst b/sphinx_doc_src/cmds/source.rst index 19ad85069..b8ec6ed64 100644 --- a/sphinx_doc_src/cmds/source.rst +++ b/sphinx_doc_src/cmds/source.rst @@ -15,7 +15,7 @@ Synopsis Description ----------- -``source`` evaluates the commands of the specified file in the current shell. This is different from starting a new process to perform the commands (i.e. ``fish < FILENAME``) since the commands will be evaluated by the current shell, which means that changes in shell variables will affect the current shell. If additional arguments are specified after the file name, they will be inserted into the ``$argv`` variable. The ``$argv`` variable will not include the name of the sourced file. +``source`` evaluates the commands of the specified file in the current shell as a new block of code. This is different from starting a new process to perform the commands (i.e. ``fish < FILENAME``) since the commands will be evaluated by the current shell, which means that changes in shell variables will affect the current shell. If additional arguments are specified after the file name, they will be inserted into the ``$argv`` variable. The ``$argv`` variable will not include the name of the sourced file. fish will search the working directory to resolve relative paths but will not search ``$PATH``.