You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
630 B

  1. # Via https://tanguy.ortolo.eu/blog/article25/shrc
  2. #
  3. # At startup, depending on the case:
  4. # - run as a login shell (or with the option --login), it executes profile (or
  5. # bash_profile instead if it exists (only user-specific version));
  6. # - run as an interactive, non-login shell, it executes bashrc (the system-wide
  7. # version is called bash.bashrc).
  8. #
  9. # At exit, it executes ~/.bash_logout (the system-wide version is called
  10. # bash.bash_logout).
  11. # Note the funny (read: insane) non-login condition for executing bashrc: it is
  12. # often worked around by having the profile execute bashrc anyway.
  13. [[ -f ~/.profile ]] && . ~/.profile