Export SCREENRC in become.
[profile.git] / opt / bin / become
index ee447c7..d958646 100755 (executable)
@@ -85,6 +85,9 @@ if exec 3>"$file" && exec <"$file" && rm "$file"; then
   else
     echo >&3 "unset DISPLAY"
   fi
+  if [ ! "$PROFILE_HOME" = "$HOME" ]; then
+    echo >&3 "export SCREENRC=$PROFILE_HOME/.screenrc"
+  fi
 else
   exit 111
 fi