The following is the ordered list of files Zsh will source for each shell type:
- L: Login
- I: Interactive
Shell type: | LI | L_ | _I | __ |
---|---|---|---|---|
~/.zshenv | ✓ | ✓ | ✓ | ✓ |
${ZDOTDIR:-$HOME}/.zprofile | ✓ | ✓ | ||
${ZDOTDIR:-$HOME}/.zshrc | ✓ | ✓ | ||
${ZDOTDIR:-$HOME}/.zlogin | ✓ | ✓ | ||
${ZDOTDIR:-$HOME}/.zlogout | ✓ | ✓ |