启动时屏幕不读取 /etc/profile.d

moe*_*tly 4 bash alias gnu-screen

每当我启动时screen,我的别名定义/etc/profile.d都会丢失screen

如何screen在启动时读取/获取所有文件/etc/profile.d/

cho*_*oba 5

配置shell运行登录 shell 的选项:

echo 'shell -/bin/bash' > ~/.screenrc
Run Code Online (Sandbox Code Playgroud)