Zsh config files and the order of sourcing during startup.

1 ~/.zshenv

always sourced

2 ~/.zprofile

sourced if login shell

3 ~/.zshrc

sourced if interactive shell

4 ~/.zlogin

sourced if login shell

5 ~/.zlogout

sourced when exiting shell