Let's say I have several shell "tabs" (or screens? sessions?) named bash1, bash2, etc. open in GNU screen. I want the status bar (i.e., the caption line) to display the names as "bash1 | bash2 | ..", with the currently open tab and the last open tab clearly marked.
How do I make this happen with my .screenrc
?
Best Answer
Edit or create (if not present)
/etc/screenrc
or (~/.screenrc
) and add below codeshelltitle 'bash'
can be changed once the screen is created. (Ctrla + A) session name can be changed toSESSSIONNAME
with:sessionname SESSIONNAME
.