Is there a way to set a GNU Screen LS_COLORS to that of the default non-screen terminal window?
.screen_profile, I don't understand what happens when a GNU Screen is initialized?
According to tests with screen on both Linux and FreeBSD, only
~/.bashrc is sourced. The
~/.bash_profile is not sourced as not being a "logging shell".
You can easily do this test yourself by adding the right echo lines at the beginning of all your
If you are still unsure of the things or you want screen to set some specific environment, your can use the following "~/.screenrc" options:
shell <shell_bin>to specify the shell binary to use (instead of the default:
setenv <var> <value>to set the environment
source <file>to source another
You can have a look at the other available
~/.screenrc options in
man screen, but not much is specificly said about the sourced
~/.*rc files as it is imply that screen is invoquing a "non-logging shell".