Screen does not read /etc/profile.d on startup

1

Whenever I start screen, my alias definitions in /etc/profile.d are missing within screen.

How can I make screen read/source all files in /etc/profile.d/ on startup?

ansi_lumen

Posted 2016-04-21T10:53:08.313

Reputation: 219

Answers

3

Configure the shell option to run a login shell:

echo 'shell -/bin/bash' > ~/.screenrc

choroba

Posted 2016-04-21T10:53:08.313

Reputation: 14 741