Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

3
  • 1
    Only tested it now and as expected, worked like a charm. Thanks mate. Commented Sep 25, 2014 at 16:55
  • Isn't there a permanent way to always have the environment variables when a new screen is created? Commented Sep 21, 2020 at 15:34
  • 1
    @AndréYuhai - You can use setenv in the configuration to do this. Instead though, I use a test like if [ "$TERM" = "screen" ] in my .bashrc as it's is more flexible. Commented Sep 30, 2020 at 17:52