Skip to content

Commit

Permalink
Keep references to old file paths in documentation
Browse files Browse the repository at this point in the history
  • Loading branch information
unrealapex committed Sep 24, 2024
1 parent 137c4af commit 13d57a5
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions doc/invoke.txt
Original file line number Diff line number Diff line change
Expand Up @@ -92,17 +92,18 @@ Yash initializes itself as follows:
specified or the shell is in the link:posix.html[POSIXly-correct mode].
+
If the +--profile={{filename}}+ option is not specified, the shell reads
link:expand.html#tilde[~]/.config/yash/profile as a default.
$XDG_CONFIG_HOME/yash/profile or link:expand.html#tilde[~]/.yash_profile
as a fallback.
.. If in the interactive mode, the shell reads the file specified by the
+--rcfile={{filename}}+ option unless the +--norcfile+ option is specified.
+
If the +--rcfile={{filename}}+ option is not specified, the shell instead
reads the following files:
- If not in the POSIXly-correct mode, the shell reads
link:expand.html#tilde[~]/.config/yash/rc or
link:expand.html#tilde[~]/.yashrc. If it cannot be read, the shell
searches link:params.html#sv-yash_loadpath[+YASH_LOADPATH+] for a file
named initialization/default.
$XDG_CONFIG_HOME/yash/rc or link:expand.html#tilde[~]/.yashrc as a
fallback. If it cannot be read, the shell searches
link:params.html#sv-yash_loadpath[+YASH_LOADPATH+] for a file named
initialization/default.
- If in the POSIXly-correct mode, the shell performs
link:expand.html[parameter expansion] on the value of the
link:params.html#sv-env[+ENV+ environment variable] and treats the
Expand Down

0 comments on commit 13d57a5

Please sign in to comment.