Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Enable mouse scrolling and scroll bar history scrolling
- termcapinfo xterm* ti@:te@
- autodetach on
- startup_message off
- hardstatus on
- hardstatus alwayslastline
- #generates equivalent of $STY followed by "on $HOST" if $STY is non-standard
- 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'
- # includes session name thanks to backtick 10
- hardstatus string "%10`"
- shelltitle "$ |bash"
- 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