Is there a way to set a GNU Screen LS_COLORS to that of the default non-screen terminal window?
Is there .screenrc or .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 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:
You can have a look at the other available |
|||||
|
~/.screenrcfile, but it is not a shell script, it is read byscreenwith its own command set. Do you see something different using screen and not? I've had no problem with the default LS_COLORS for years, on different OSs. – Arcege Feb 15 '12 at 19:31LS_COLORS? Your.aliasesfile explicitly setsLS_COLORS, so it could be something to do with the macos version ofscreenchanging theOSTYPEvalue (but that doesn't seem likely. My suggestion to you is to diff the output ofenv(after proper sorting) inside and outside ofscreenand see what turns up. – Arcege Feb 15 '12 at 21:37.bash_prompI removed the following and all is well:if [[ $COLORTERM = gnome-* && $TERM = xterm ]] && infocmp gnome-256color >/dev/null 2>&1; then export TERM=gnome-256color elif infocmp xterm-256color >/dev/null 2>&1; then export TERM=xterm-256color fi. Still different but it doesn't just make everything red. – rudolph9 Feb 15 '12 at 22:15