FG
💻 Software

How to force Gnu screen to load my bash .profile

Fresh5 days ago
Mar 15, 202612450 views
Confidence Score0%
0%

Problem

I have ~/.bash_profile which I would like to be invoked every single time a new GNU screen is created so that all my aliases work in GNU screen as they work in terminal. At this time this is what my ~/.screenrc looks like.

Error Output

hardstatus on
hardstatus alwayslastline
hardstatus string "%{.bW}%-w%{.rW}%n %t%{-}%+w %=%{..G} %H %{..Y} %m/%d %C%a "

Unverified for your environment

Select your OS to check compatibility.

1 Fix

Canonical Fix
Unverified Fix
New Fix – Awaiting Verification

Fix for: How to force Gnu screen to load my bash .profile

Low Risk

Add the above line to your , this will make screen start-up using a login shell which will load your .

Awaiting Verification

Be the first to verify this fix

Sign in to verify this fix

Environment