|
发表于 2008-12-13 11:52:22
|
显示全部楼层
Post by vvoody;1923019
man bash
login shell:
/etc/profile -> ~/.bash_profile -> ~/.bash_login -> ~/.profile
non login shell:
~/.bashrc
原来如此
难怪每次都不读取.bashrc里的设置。后来我在.profile里加上了
source .bashrc,然后才行
我也觉得这个设置挺不合理的。不知道为什么这么搞。 |
|