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
14 lines
630 B
# Via https://tanguy.ortolo.eu/blog/article25/shrc
|
|
#
|
|
# At startup, depending on the case:
|
|
# - run as a login shell (or with the option --login), it executes profile (or
|
|
# bash_profile instead if it exists (only user-specific version));
|
|
# - run as an interactive, non-login shell, it executes bashrc (the system-wide
|
|
# version is called bash.bashrc).
|
|
#
|
|
# At exit, it executes ~/.bash_logout (the system-wide version is called
|
|
# bash.bash_logout).
|
|
# Note the funny (read: insane) non-login condition for executing bashrc: it is
|
|
# often worked around by having the profile execute bashrc anyway.
|
|
|
|
[[ -f ~/.profile ]] && . ~/.profile
|