[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: keeping system profile in screen

From: Tom Scogland
Subject: Re: keeping system profile in screen
Date: Mon, 2 Mar 2009 16:49:13 -0500

Maybe your problem is different than I'm thinking, but my first reaction is to say you probably want to put "source /etc/profile" in your shell configuration rather than screen, or use "/bin/bash --init-file /etc/profile" as your shell to execute.  Which I think would be the following.

shell "/bin/bash --init-file /etc/profile"

On Mon, Mar 2, 2009 at 9:35 AM, Simone F <address@hidden> wrote:
Hi list

I was wondering what could be the best way of applying the global /etc/profile settings in every new screen instance.
Since a manual `source /etc/profile`  every time a new screen is opened is a little boring.

I tried to put in screenrc
at root*  "/bin/bash --init-file /etc/profile"
at root*  "source /etc/profile"
but when screens loads, briefly says 'unknown command /bin/bash/ ....'

I am currently running Screen version 4.00.03jw4 (FAU) 2-May-06
in Debian

Am I missing anything?

screen-users mailing list

AKA:Tom Scogland
I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.
-Albert Einstein

reply via email to

[Prev in Thread] Current Thread [Next in Thread]