1 ########################################################################
2 # To correctly use this fileset for zsh, you need to understand the
3 # order in which stuff is loaded by zsh.
5 # Wherever $ZDOTDIR is unset, $HOME is used instead
7 # 1. /etc/zsh/zshenv This is not overridable and not affected by the
8 # RCS/GLOBAL_RCS variables explained below!
11 # If the shell is a login shell, it continues with
12 # 3. /etc/zsh/zprofile
13 # 4. $ZDOTDIR/.zprofile
15 # If the shell is interactive, it continues with
19 # If the shell is a login shell, it continues with
22 ########################################################################
24 ########################################################################
25 # On logout it is easier: If the shell exits (not due to exec'ing another
26 # process, but logout/exit), it reads
28 # 1. $ZDOTDIR/.zlogout
30 ########################################################################
32 ########################################################################
33 # There are 2 variables affecting the above ordering.
35 # RCS If this is unset, none of the (remaining) startup files
37 # GLOBAL_RCS If this is unset, none of the startup files in /etc/zsh
40 # Note: These variables do NOT affect /etc/zsh/zshenv, which is