summaryrefslogtreecommitdiff
path: root/Doc/help/dot
diff options
context:
space:
mode:
authorAxel Beckert <abe@deuxchevaux.org>2020-02-16 03:29:19 +0100
committerAxel Beckert <abe@deuxchevaux.org>2020-02-16 03:29:19 +0100
commit2794556a41b50f635b6aa49c32fc6ca7bc08c901 (patch)
tree9557d7a073d4b24e9f10cdc337d9a819eb65ad1a /Doc/help/dot
parentb0d5cb56971618762ab13dbdb8fb17753f07f0f6 (diff)
parent94c033d2e281eb1f49e8366d21fc259ce8c0c4f5 (diff)
downloadzsh-2794556a41b50f635b6aa49c32fc6ca7bc08c901.tar.gz
zsh-2794556a41b50f635b6aa49c32fc6ca7bc08c901.zip
Update upstream source from tag 'upstream/5.8'
Update to upstream version '5.8' with Debian dir b7a9cb7b782a12a49dca06e06ca2554b5a95bf93
Diffstat (limited to 'Doc/help/dot')
-rw-r--r--Doc/help/dot22
1 files changed, 22 insertions, 0 deletions
diff --git a/Doc/help/dot b/Doc/help/dot
new file mode 100644
index 000000000..2d969a509
--- /dev/null
+++ b/Doc/help/dot
@@ -0,0 +1,22 @@
+. file [ arg ... ]
+ Read commands from file and execute them in the current shell
+ environment.
+
+ If file does not contain a slash, or if PATH_DIRS is set, the
+ shell looks in the components of $path to find the directory
+ containing file. Files in the current directory are not read
+ unless `.' appears somewhere in $path. If a file named
+ `file.zwc' is found, is newer than file, and is the compiled
+ form (created with the zcompile builtin) of file, then commands
+ are read from that file instead of file.
+
+ If any arguments arg are given, they become the positional pa-
+ rameters; the old positional parameters are restored when the
+ file is done executing. However, if no arguments are given, the
+ positional parameters remain those of the calling context, and
+ no restoring is done.
+
+ If file was not found the return status is 127; if file was
+ found but contained a syntax error the return status is 126;
+ else the return status is the exit status of the last command
+ executed.