Last active
October 4, 2021 06:07
-
-
Save khimaros/f046926fc2e5287d7afefa454f389082 to your computer and use it in GitHub Desktop.
install
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -ex | |
apt update | |
apt install -y vim git screen | |
git clone https://github.com/khimaros/raid-explorations | |
cd raid-explorations | |
cat <<EOF > /etc/screenrc | |
startup_message off | |
nethack on | |
hardstatus off | |
caption always "%?%F%{= Kw}%:%{=u kR}%? %h %-024=%{+b} %C%a %D %d %M %Y%{= db}" | |
hardstatus alwayslastline "%{= kR} %-Lw%{= Kw} %n%f %t %{-}%+Lw %=%{= dd}" | |
defscrollback 3000 | |
vbell off | |
vbell_msg " Ding! ---- Ding! " | |
term xterm | |
shell -$SHELL | |
bind / eval "clear" "scrollback 0" "scrollback 15000" | |
EOF | |
exec screen |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment