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

后端 未结 7 1406
醉酒成梦
醉酒成梦 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 04:47

    The easiest way to display the sessionname is

      C-a : 
      sessionname
    

    (without specifying a name after sessionname)

    See the "CUSTOMIZATION" section in man screen

提交回复
热议问题