added screenrc config for remote servers.

This commit is contained in:
Alexey Skobkin 2018-06-20 15:05:26 +03:00
parent 6b86bb8c53
commit 3077bdbafa

View file

@ -0,0 +1,17 @@
# Including common settings
source ~/.dotfiles/screen/common.screenrc
# Creating default windows
screen -t shell
screen -t root1 sudo -i
screen -t root2 sudo -i
# Selecting first window
select 0
# Backtick commands to output in the hardstatus
backtick 2 10 10 sh -c '~/.dotfiles/screen/backticks/loadavg.sh'
backtick 3 10 10 sh -c '~/.dotfiles/screen/backticks/memory.sh'
hardstatus string '%{= kG}[ %{G}%H %{g}][%= %{= kw}%?%-Lw%?%{r}(%{W}%n*%f%t%?(%u)%?%{r})%{w}%?%+Lw%?%?%= %{g}][ %1` ][ %2` ][ %3` ][%{B} %d-%m-%Y %{W}%c %{g}]'