Contents

Shell configurations

According to Bash’s man:

  • /bin/bash The bash executable
  • /etc/profile The system-wide initialization file, executed for login shells
  • ~/.bash_profile The personal initialization file, executed for login shells
  • ~/.bashrc The individual per-interactive-shell startup file
  • ~/.bash_logout The individual login shell cleanup file, executed when a login shell exits
  • ~/.inputrc Individual readline initialization file

With zsh, .zshrc is always read for an interactive shell, whether it’s a login one or not.