2013-01-25から1日間の記事一覧
bashが起動する際、設定ファイルがどのような順番で読み込まれるかを調べてみた bashのソースコードには maybe_execute_file (SYS_PROFILE, 1); if (act_like_sh) /* sh */ maybe_execute_file ("~/.profile", 1); else if ( (maybe_execute_file ("~/.bash_…
bashが起動する際、設定ファイルがどのような順番で読み込まれるかを調べてみた bashのソースコードには maybe_execute_file (SYS_PROFILE, 1); if (act_like_sh) /* sh */ maybe_execute_file ("~/.profile", 1); else if ( (maybe_execute_file ("~/.bash_…