2018-05-15 bashrcとbash_profileの使い分け 読み込みタイミング ログイン時 .bash_profile → .bashrc の順に実行される bash起動時 .bashrc のみ実行される 用途 bash_profile 環境変数を設定する bashrc エイリアスを定義する シェル関数を定義する 参考 https://qiita.com/shyamahira/items/260862743e4c9794b5d2 https://qiita.com/magicant/items/d3bb7ea1192e63fba850