aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/source.txt
diff options
context:
space:
mode:
authorGravatar Mark Griffiths <mark@thebespokepixel.com>2014-08-19 13:41:23 +0100
committerGravatar Mark Griffiths <mark@thebespokepixel.com>2014-09-03 14:43:26 +0100
commit137abd0cfaa8959224f88a4ebe9584a51468cc88 (patch)
treec396f760a1e309b5a837359e65c57c4555534d49 /doc_src/source.txt
parentd7308fecbe573aad91fc6f1377c1ed2df735f6fd (diff)
Make line length, wrapping and spacing consistent
Diffstat (limited to 'doc_src/source.txt')
-rw-r--r--doc_src/source.txt21
1 files changed, 6 insertions, 15 deletions
diff --git a/doc_src/source.txt b/doc_src/source.txt
index 8e051a8a..dba14045 100644
--- a/doc_src/source.txt
+++ b/doc_src/source.txt
@@ -7,26 +7,17 @@ source FILENAME [ARGUMENTS...]
\subsection source-description 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.
+`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.
-If no file is specified, or if the file name '`-`' is used, stdin will
-be read.
+If no file is specified, or if the file name '`-`' is used, stdin will be read.
-The return status of `source` is the return status of the last job to
-execute. If something goes wrong while opening or reading the file,
-`source` exits with a non-zero status.
+The return status of `source` is the return status of the last job to execute. If something goes wrong while opening or reading the file, `source` exits with a non-zero status.
+
+`.` (a single period) is an alias for the `source` command. The use of `.` is deprecated in favour of `source`, and `.` will be removed in a future version of fish.
-`.` (a single period) is an alias for the `source` command. The use of `.`
-is deprecated in favour of `source`, and `.` will be removed in a future
-version of fish.
\subsection source-example Example
+
\fish
source ~/.config/fish/config.fish
# Causes fish to re-read its initialization file.