Go to the first, previous, next, last section, table of contents.


Startup/Shutdown Files

Commands are first read from `/etc/zshenv'. If the RCS option is unset within `/etc/zshenv', all other initialization files are skipped. Otherwise, commands are read from `$ZDOTDIR/.zshenv' (if ZDOTDIR is unset, HOME is used instead). If the first character of argument zero passed to the shell is -, or if the `-l' flag is present, then the shell is assumed to be a login shell, and commands are read from `/etc/zprofile' and then `$ZDOTDIR/.zprofile'. Then, if the shell is interactive and the NO_RCS option is unset, commands are read from `/etc/zshrc' and then `$ZDOTDIR/.zshrc'. Finally, if the shell is a login shell, `/etc/zlogin' and `$ZDOTDIR/.zlogin' are read.

Files

$ZDOTDIR/.zshenv
$ZDOTDIR/.zprofile
$ZDOTDIR/.zshrc
$ZDOTDIR/.zlogin
$ZDOTDIR/.zlogout
${TMPPREFIX}* (default is /tmp/zsh*)
/etc/zshenv
/etc/zprofile
/etc/zshrc
/etc/zlogin
/etc/zlogout


Go to the first, previous, next, last section, table of contents.