Ubuntu ログインシェル動かない。。
Ubuntu16.04 で試した。
~/.bash_profile にスクリプト書いても、ログイン時に実行されない。
http://qiita.com/HirofumiYashima/items/4b1db4f05fc11d160b4e では、Ubuntuは .profile に切り替わった。と書いているが、
.profile に書いても動かない。
$ cat ~/.profile # ~/.profile: executed by the command interpreter for login shells. # This file is not read by bash(1), if ~/.bash_profile or ~/.bash_login # exists.
実際に.profile 見ると、~/.bash_profile がある場合は .profile は読まれないと書いてるので、~/.bash_profile があれば動くはず。