TIL

Today I Learned. 知ったこと、学んだことを書いていく

.bashrcと.bash_profile

.bash_profile.bashrcの違いをぐぐってみたのでメモしておく。

.bash_profile

.bash_profileはログインするたびに読み込まれる。

.bashrc

対話モードのbashを起動するたびに読み込まれる。


.bashrcが反映するようにする

.bash_profileに以下の記述をする

source ~/.bashrc



参考文献

本当に正しい .bashrc と .bash_profile の使ひ分け - Qiita