这是一个创建于 3849 天前的主题,其中的信息可能已经有所发展或是发生改变。
重置过一次环境配置
现在如果开新的终端(iterm2)或重启
都要手动.source ~/.bash_profile
里边的配置才生效..
不知有解决方案否?
3 条回复 • 2014-08-14 13:40:00 +08:00
 |
|
1
kfll 2014-08-14 10:00:49 +08:00
用 ~/.bashrc
|
 |
|
2
senghoo 2014-08-14 10:29:40 +08:00
LS 正解。 启动互交式shell的时候默认不处理bash_profile。
|
 |
|
3
SoloCompany 2014-08-14 13:40:00 +08:00 via Android
检查一下是不是iterm设置错了,没有选中 login shell
|