From 805381040dd69dd02b78423d2d71913b33f3cc33 Mon Sep 17 00:00:00 2001 From: Tanaka Akira Date: Tue, 8 Jun 1999 09:25:39 +0000 Subject: zsh-3.1.5-pws-21 --- Doc/Zsh/files.yo | 16 +++++++++------- 1 file changed, 9 insertions(+), 7 deletions(-) (limited to 'Doc/Zsh/files.yo') diff --git a/Doc/Zsh/files.yo b/Doc/Zsh/files.yo index 9ff59fe19..17b29677b 100644 --- a/Doc/Zsh/files.yo +++ b/Doc/Zsh/files.yo @@ -8,13 +8,12 @@ cindex(shutdown files) pindex(NO_RCS, use of) pindex(NO_GLOBAL_RCS, use of) Commands are first read from tt(/etc/zshenv); this cannot be overridden. -If the tt(RCS) option is unset, no further files are read; changing this -option after this point has no effect on initialization files, but may -affect behaviour on logout. Subsequent behaviour is also modified by the -option tt(GLOBAL_RCS). If it is unset at any point during initialisation, -later files in the tt(/etc) directory will not be read. It is also -possible for a file in tt($ZDOTDIR) to re-enable tt(GLOBAL_RCS). Both -tt(RCS) and tt(GLOBAL_RCS) are set by default. +Subsequent behaviour is modified by the tt(RCS) and +tt(GLOBAL_RCS) options; the former affects all startup files, while the +second only affects those in the tt(/etc) directory. If one of the options +is unset at any point, the corresponding startup file(s) will not be read. +It is also possible for a file in tt($ZDOTDIR) to re-enable +tt(GLOBAL_RCS). Both tt(RCS) and tt(GLOBAL_RCS) are set by default. Commands are then read from tt($ZDOTDIR/.zshenv). pindex(LOGIN, use of) @@ -31,6 +30,9 @@ via the tt(exit) or tt(logout) commands, or an implict exit by reading end-of-file from the terminal. However, if the shell terminates due to tt(exec)'ing another process, the logout files are not read. These are also affected by the tt(RCS) and tt(GLOBAL_RCS) options. +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. If tt(ZDOTDIR) is unset, tt(HOME) is used instead. Those files listed above as being in tt(/etc) may be in another -- cgit 1.4.1