zsh $RCS $GLOBAL_RCS sh / ksh zsh sh or ksh invokation name /etc/zshenv /etc/profile unset $RCS ~/.profile set $ZDOTDIR/.zshenv ${ENV} login? yes unset $GLOBAL_RCS set /etc/zprofile $ZDOTDIR/.zprofile interactive? yes unset $GLOBAL_RCS set /etc/zlogin $ZDOTDIR/.zlogin user session unset $RCS set login? yes $ZDOTDIR/.zlogout unset $GLOBAL_RCS set /etc/zlogout