Shell configurations
According to Bash’s man:
- /bin/bashThe bash executable
- /etc/profileThe system-wide initialization file, executed for login shells
- ~/.bash_profileThe personal initialization file, executed for login shells
- ~/.bashrcThe individual per-interactive-shell startup file
- ~/.bash_logoutThe individual login shell cleanup file, executed when a login shell exits
- ~/.inputrcIndividual readline initialization file
With zsh, .zshrc is always read for an interactive shell, whether it’s a login one or not.