how to include screen's session name in hardstatus?
Fresh3 days ago
Mar 15, 202610442 viewsConfidence Score0%
0%
Problem
I use different screen sessions for different projects. Starting screen like . Now, I'd like to mention 'project1' in hardstatus line. Session name can be obtained from environment variable STY: . But how to get this into screen? I've tried backtick command and %` in hardstatus, but I can't seem to…
Error Output
hardstatus string '%H:%`' backtick 0 30 30 echo $STY
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: how to include screen's session name in hardstatus?
Low Risk
You can include this string (with additional information, if desired) in your : inside single quotes in order to delay evaluation of the variable. Then add this to your : Unfortunately, doesn't set in the environment of the commands it spawns for th…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix