LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   Screen (the apps) Color (http://www.linuxquestions.org/questions/linux-software-2/screen-the-apps-color-64038/)

Half_Elf 06-06-2003 11:53 AM

Screen (the apps) Color
 
is there a way to add alias ls='ls --color=auto' to my screenrc (or to force screen to reload my /etc/profile) ??
I'm very tired of this white and black ls color and I don't want to type this by hand everytime I start screen.
Screen seems to be unable to exec command, if I give the alias in the screenrc, it gives me an error msg about "unknow command alias"

chrismiceli 06-06-2003 12:46 PM

there is a way because redhat does it by default, I found it a couple of months ago but now I can't find out where it aliases it.

mlmurray 08-28-2004 01:25 PM

I was having the same problem fixed it by uncommenting the following line in my default ~/.screenrc file:

# make the shell in every window a login shell
shell -$SHELL

Hope this helps!

Mark


All times are GMT -5. The time now is 01:31 PM.