To configure Zsh for your user’s session, you can use the following files:
$ZDOTDIR/.zshenv$ZDOTDIR/.zprofile$ZDOTDIR/.zshrc$ZDOTDIR/.zlogin$ZDOTDIR/.zlogout
By default, Zsh will try to find the user’s configuration files in the $HOME directory. You can change it by setting the environment variable $ZDOTDIR.