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
Zsh config files and the order of sourcing during startup.
~/.zshenv
always sourced
~/.zprofile
sourced if login shell
~/.zshrc
sourced if interactive shell
~/.zlogin
sourced if login shell
~/.zlogout
sourced when exiting shell