linux screen读取bashrc

来源:互联网 发布:网络都市色情长篇小说 编辑:程序博客网 时间:2024/06/05 16:25

今天在.bash_profile中设置LANG="zh_CN.UTF8",发现screen中老是不生效,经这个帖子提醒,发现原来screen默认打开新窗口时是读取.bashrc的....晕!

参考:http://serverfault.com/questions/226783/how-to-tell-gnu-screen-to-run-bash-profile-in-each-new-window

原创粉丝点击