|
|
发表于 2006-11-30 17:32:53
|
显示全部楼层
Post by ibmwebzh
我用Debian unstable,普通用户的.bashrc中已经有了,使用也正常,虽然在普通用户apt-get install没什么用。但在root的.bashrc中加上就不起作用,. /etc/bash_completion就可以用。从普通用户的.bashrc中复制过去也不行。后来加在root的.bash_profile中就行了。
.bash_profile是登陆时执行的脚本,普通用户的.bash_profile一般都有. .bashrc这一项,所以加在.bashrc里面有效 |
|