diff options
author | Tanaka Akira <akr@users.sourceforge.net> | 1999-07-24 14:01:54 +0000 |
---|---|---|
committer | Tanaka Akira <akr@users.sourceforge.net> | 1999-07-24 14:01:54 +0000 |
commit | 14810d6df13e0564a606b74e4c4e918e80862e25 (patch) | |
tree | 0e24a6c6b0226a90bdf8398ce94b60fdc9a87b0e /Doc/Zsh/files.yo | |
parent | d6d4a3abfc84f0940e663cd69537789a039a7056 (diff) | |
download | zsh-14810d6df13e0564a606b74e4c4e918e80862e25.tar.gz zsh-14810d6df13e0564a606b74e4c4e918e80862e25.tar.xz zsh-14810d6df13e0564a606b74e4c4e918e80862e25.zip |
zsh-3.1.6-test-3 dot-zsh-199907241534
Diffstat (limited to 'Doc/Zsh/files.yo')
-rw-r--r-- | Doc/Zsh/files.yo | 13 |
1 files changed, 10 insertions, 3 deletions
diff --git a/Doc/Zsh/files.yo b/Doc/Zsh/files.yo index 54fa800dc..df2ae8d35 100644 --- a/Doc/Zsh/files.yo +++ b/Doc/Zsh/files.yo @@ -11,9 +11,10 @@ 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 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. +is unset at any point, any subsequent startup file(s) of the corresponding +type 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) @@ -37,5 +38,11 @@ saved. 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. + +As tt(/etc/zshenv) is run for all instances of zsh, it is important that +it be kept as small as possible. In particular, it is a good idea to +put code that does not need to be run for every single shell behind +a test of the form `tt(if [[ -o rcs ]]; then ...)' so that it will not +be executed when zsh is invoked with the `tt(-f)' option. ifnzman(includefile(Zsh/filelist.yo)) |