diff options
author | Bart Schaefer <barts@users.sourceforge.net> | 2001-07-10 08:59:17 +0000 |
---|---|---|
committer | Bart Schaefer <barts@users.sourceforge.net> | 2001-07-10 08:59:17 +0000 |
commit | 5fcfa125bd4f0006c8207d1652908348f3ea526f (patch) | |
tree | ae808a9b4f71468b25760567bee9bb9e9a8cd813 /Doc/Zsh/files.yo | |
parent | e988866bda1996101ff8792ad959352d516e9e95 (diff) | |
download | zsh-5fcfa125bd4f0006c8207d1652908348f3ea526f.tar.gz zsh-5fcfa125bd4f0006c8207d1652908348f3ea526f.tar.xz zsh-5fcfa125bd4f0006c8207d1652908348f3ea526f.zip |
Better indexing and misc. cleanup in the first tenth or so of the doc.
Diffstat (limited to 'Doc/Zsh/files.yo')
-rw-r--r-- | Doc/Zsh/files.yo | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/Doc/Zsh/files.yo b/Doc/Zsh/files.yo index aeb4ae885..ae46957b9 100644 --- a/Doc/Zsh/files.yo +++ b/Doc/Zsh/files.yo @@ -5,8 +5,12 @@ cindex(files, startup) cindex(startup files) cindex(files, shutdown) cindex(shutdown files) +pindex(RCS, use of) +pindex(GLOBAL_RCS, use of) pindex(NO_RCS, use of) pindex(NO_GLOBAL_RCS, use of) +vindex(ZDOTDIR, use of) +@cindex(zshenv) Commands are first read from tt(/etc/zshenv); this cannot be overridden. Subsequent behaviour is modified by the tt(RCS) and tt(GLOBAL_RCS) options; the former affects all startup files, while the @@ -18,13 +22,17 @@ default. Commands are then read from tt($ZDOTDIR/.zshenv). pindex(LOGIN, use of) +cindex(zprofile) If the shell is a login shell, commands are read from tt(/etc/zprofile) and then tt($ZDOTDIR/.zprofile). +cindex(zshrc) Then, if the shell is interactive, commands are read from tt(/etc/zshrc) and then tt($ZDOTDIR/.zshrc). +cindex(zlogin) Finally, if the shell is a login shell, tt(/etc/zlogin) and tt($ZDOTDIR/.zlogin) are read. +cindex(zlogout) When a login shell exits, the files tt($ZDOTDIR/.zlogout) and then tt(/etc/zlogout) are read. This happens with either an explicit exit via the tt(exit) or tt(logout) commands, or an implicit exit by reading @@ -35,6 +43,7 @@ Note also that the tt(RCS) option affects the saving of history files, i.e. if tt(RCS) is unset when the shell exits, no history file will be saved. +vindex(HOME, use of) If tt(ZDOTDIR) is unset, tt(HOME) is used instead. Those files listed above as being in tt(/etc) may be in another directory, depending on the installation. |