Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
45
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.63 KB | None | 0 0
  1. # Enable mouse scrolling and scroll bar history scrolling
  2. termcapinfo xterm* ti@:te@
  3.  
  4. autodetach on
  5. startup_message off
  6. hardstatus on
  7. hardstatus alwayslastline
  8. #generates equivalent of $STY followed by "on $HOST" if $STY is non-standard
  9. backtick 10 60 60 sh -c 'sty=$(screen -ls | grep --color=no -o "$PPID[^[:space:]]*") ; if [ ${sty##*.} = $HOST ] ; then echo $sty ; else echo "$sty" ; fi'
  10. # includes session name thanks to backtick 10
  11. hardstatus string "%10`"
  12. shelltitle "$ |bash"
  13. hardstatus string '%{gk}[%{wk}%?%-Lw%?%{=b kR}(%{W}%n*%f %t%?(%u)%?%{=b kR})%{= w}%?%+Lw%?%? (%10`) %{g}][%{w}%l%{W}%{g}][ "%H" %{= w}%Y/%m/%d %0C:%s%a%{g} ]%{W}'
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement