]> code.delx.au - dotfiles/blobdiff - .screenrc
git: added branches-to-kill alias
[dotfiles] / .screenrc
index 33a2e9920e778511e20d2519e5af48cfbda21590..e31e34c48f68e323bdbbd901a8721df3b4d88a4d 100644 (file)
--- a/.screenrc
+++ b/.screenrc
@@ -3,13 +3,18 @@ altscreen on
 defbce on
 shelltitle "$ |bash"
 term 'screen-s'
+vbell off
 
 # Display a line at the bottom with hostname, window titles & time
-caption always '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][%{B} %d/%m %{W}%c %{g}]'
+caption always '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%? %?%= %{g}][%{B} %l %{W}%c %{g}]'
 
 # Always send backspace as ^?, which is consistent with the bundled terminfo
 bindkey -k kb stuff ^?
 
-# iTerm.app supports mouse events
-termcapinfo itermapp* XT
+# turn sending of screen messages to hardstatus off
+hardstatus off
+# Set the hardstatus prop on gui terms to set the titlebar/icon title
+termcapinfo xterm*|rxvt*|kterm*|Eterm* hs:ts=\E]0;:fs=\007:ds=\E]0;\007
+# use this for the hard status string
+hardstatus string "%h%? users: %u%?"