initial
[zsh.git] / .zsh / README
1 ########################################################################
2 # To correctly use this fileset for zsh, you need to understand the
3 # order in which stuff is loaded by zsh.
4 #
5 # Wherever $ZDOTDIR is unset, $HOME is used instead
6 #
7 # 1. /etc/zsh/zshenv This is not overridable and not affected by the
8 # RCS/GLOBAL_RCS variables explained below!
9 # 2. $ZDOTDIR/.zshenv
10 #
11 # If the shell is a login shell, it continues with
12 # 3. /etc/zsh/zprofile
13 # 4. $ZDOTDIR/.zprofile
14 #
15 # If the shell is interactive, it continues with
16 # 5. /etc/zsh/zshrc
17 # 6. $ZDOTDIR/.zshrc
18 #
19 # If the shell is a login shell, it continues with
20 # 7. /etc/zsh/zlogin
21 # 8. $ZDOTDIR/zlogin
22 ########################################################################
23
24 ########################################################################
25 # On logout it is easier: If the shell exits (not due to exec'ing another
26 # process, but logout/exit), it reads
27 #
28 # 1. $ZDOTDIR/.zlogout
29 # 2. /etc/zsh/zlogout
30 ########################################################################
31
32 ########################################################################
33 # There are 2 variables affecting the above ordering.
34 #
35 # RCS If this is unset, none of the (remaining) startup files
36 # are sourced.
37 # GLOBAL_RCS If this is unset, none of the startup files in /etc/zsh
38 # are sourced.
39 #
40 # Note: These variables do NOT affect /etc/zsh/zshenv, which is
41 # ALWAYS read!