ZDOTDIRto where you'd like zsh to look.
When zsh starts up, the following files are read (in order):
RCS option is unset in this system file,
all other startup files are skipped. (Can you say 'B O F H' ? I knew
/etc/zprofile, followed by
/etc/zshrc, followed by
/etc/zlogin, followed by
/etc/zlogoutis read, followed by
An interactive shell is one in which prompts are displayed and the user types in commands to the shell. (IE, a tty is associated with the shell)
For example, if I run the command
ssh SOME_HOST some_command
I will be running (presumably) a non-interactive program called
some_command. This means that zsh will not be an
interactive shell, and ignore the corresponding files. Zsh should,
however, be a login shell, and read the appropriate files.
Another directory besides
/etc can be used for the global
files. This is determined during the installation of zsh.