无法找到.screenrc,它说找不到命令

问题描述 投票:2回答:1

我试图使用.screenrc在我的屏幕上获得标签,但在采购时,它说命令未找到。它在ubuntu14.04上。我安装了屏幕。我可以创建屏幕,但无法使用screenrc获取标签详细信息。

machine:~$ cat .screenrc
caption always caption string "test caption"
hardstatus string "%{= g} %{= w}%-Lw%{=r}%n%f* %t%{-}%+LW"

machine:~$ source .screenrc
caption: command not found 
hardstatus: command not found

有人能让我知道如何解决这个问题吗?

linux bash ubuntu gnu-screen screenrc
1个回答
-1
投票

您不需要源.screenrc

修改后的设置将应用于您启动的任何新屏幕会话。它们不会应用于现有的屏幕会话。

© www.soinside.com 2019 - 2024. All rights reserved.