Zsh loads files in special order, first it loads these files from /etc or /etc/zsh directories depending on which distro are you using: zshenv β zprofile β zshrc β zlogin β zlogout
Then it looks and loads these files from $HOME or if its set then from $ZDOTDIR directories: .zshenv β .zprofile β .zshrc β .zlogin β .zlogout
All files located under /etc or /etc/zsh are sourced system wide for every user while files located under $HOME or $ZDOTDIR are user specific and sourced for each users $HOME and $ZDOTDIR separately.