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.
~/.zshenvalways sourced
~/.zprofilesourced if login shell
~/.zshrcsourced if interactive shell
~/.zloginsourced if login shell
~/.zlogoutsourced when exiting shell