aboutsummaryrefslogtreecommitdiffhomepage
path: root/doc_src/source.txt
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-09-20 23:31:55 +1000
committerGravatar axel <axel@liljencrantz.se>2005-09-20 23:31:55 +1000
commit7ddecde54372c25fcf526e2d24807c5dac9800aa (patch)
tree1bff6e0ccd096836adb74529d53a6debcf45375b /doc_src/source.txt
parent149594f974350bb364a76c73b91b1d5ffddaa1fa (diff)
Add subdirectories
darcs-hash:20050920133155-ac50b-9a14c6c664dd03afbe8e15e7c7998fcfb5c3c750.gz
Diffstat (limited to 'doc_src/source.txt')
-rw-r--r--doc_src/source.txt19
1 files changed, 19 insertions, 0 deletions
diff --git a/doc_src/source.txt b/doc_src/source.txt
new file mode 100644
index 00000000..e94e38f3
--- /dev/null
+++ b/doc_src/source.txt
@@ -0,0 +1,19 @@
+\section source . - Evaluate contents of file.
+
+\subsection source-synopsis Synopsis
+<tt>. FILENAME</tt>
+
+\subsection source-description Description
+
+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. <tt>fish < FILENAME</tt>) since the commands will be
+evaluated by the current shell, which means that changes in
+environment variables, etc., will remain.
+
+\subsection source-example Example
+
+<tt>. ~/.fish</tt>
+
+causes fish to reread its initialization file.
+