diff options
author | Ting-Wei Lan <lantw44@gmail.com> | 2015-01-19 15:51:58 +0800 |
---|---|---|
committer | Ting-Wei Lan <lantw44@gmail.com> | 2015-01-19 15:51:58 +0800 |
commit | 7832137053a1ab8a4ab49b08b2797b132469a710 (patch) | |
tree | b666bb482ee2d15d2c1c4ba861db3f35ee2a5ab8 | |
parent | e0848cbc78c72169ad87a4d0d14597e27863ac8a (diff) | |
download | configfile-7832137053a1ab8a4ab49b08b2797b132469a710.tar.gz configfile-7832137053a1ab8a4ab49b08b2797b132469a710.tar.zst configfile-7832137053a1ab8a4ab49b08b2797b132469a710.zip |
screenrc: 避免修改預設 shell 時導致 SHELL 環境變數不正確、加入 hardstatus 設定screenrc-20150119
-rw-r--r-- | screenrc | 19 |
1 files changed, 10 insertions, 9 deletions
@@ -1,18 +1,19 @@ caption always "%{= ky}%H %{= kc}%-Lw%{= br}%n %t%{= kc}%+Lw %=%{= g}%l" termcapinfo xterm*|rxvt*|kterm*|Eterm* 'hs:ts=\E]0;:fs=\007:ds=\E]0;\007' +defscrollback 65536 +hardstatus lastline +hardstatus string '%h%? users: %u%?' +ignorecase on vbell off vbellwait 0 -defscrollback 65536 - -hardcopydir /home/lantw44/hardcopy +zombie ^C^R +# The first window should be a login shell deflogin on -shell -bash +shell -$SHELL screen -title bash -deflogin off - -zombie ^C^R -ignorecase on +# Other windows are non-login shells +shell $SHELL +deflogin off |