|
|

楼主 |
发表于 2007-6-28 09:00:01
|
显示全部楼层
Post by zhllg
-ln就是以非login shell启动,默认应该也是非login shell
不过你在screenrc设定shell -$SHELL是何用意?
你要知道login shell读取.bash_profile是天经地义的
至于shell $SHELL恐怕完全是多此一举了吧?
shell -$SHELL是screen装好后默认配置在/etc/screenrc中的,我便把它改过来了。
-l and -ln
turns login mode on or off (for /var/run/utmp updating). This can
also be defined through the "deflogin" .screenrc command.
我没大看明白这段解释,但用下来似乎没有影响screen是否执行.bash_profile命令的行为。 |
|