我的.screenrc配置


=Start=

参考配置如下:
startup_message off     # default: on
password IPEYnb9Ew33/E

autodetach on # Autodetach session on hangup instead of terminating screen completely

# define a bigger scrollback, default is 100 lines
scrollback 30000
defscrollback 30000

# Remove some stupid / dangerous key bindings
bind x
bind ^k
bind ^\

caption always "%{=b dy}%D, %d. %M '%y %{=b dw}%c:%s %{=b dy}{ %{= dg}${USER}@%{= dr}%H %{=b dy}} %{=b d2}%l %{=b dy}%u %{=b dy} %={ %?%{= dc}%-Lw%?%{+b dy}(%{-b r}%n:%t%{+b dy})%?(%u)%?%{-dc}%?%{= dc}%+Lw%? %{=b dy}}"

#兼容shell 使得.bashrc .profile /etc/profile等里面的别名等设置生效
shell -$SHELL
参考链接:

=END=

, ,

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注