How do I display the current “session” name or “sockname” of a screen session in the status bar?

后端 未结 7 1424
醉酒成梦
醉酒成梦 2020-12-13 04:15

I run multiple screen sessions each created with \'screen -S name\' and I would like to be able to display in the status bar the name

7条回答
  •  感动是毒
    2020-12-13 05:07

    If nothing else works (as for me), as a workaround you can create a window with number 0 and set title to your screen name:

    screen -S myscreen
    C^a :title "myscreen"
    

提交回复
热议问题