From 188ae926437b18465b28614bee53d6713731d62d Mon Sep 17 00:00:00 2001 From: Nico Schottelius Date: Sun, 19 Jan 2020 10:49:27 +0100 Subject: [PATCH] add myssh.sh --- myssh.sh | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 myssh.sh diff --git a/myssh.sh b/myssh.sh new file mode 100755 index 0000000..b0f34a8 --- /dev/null +++ b/myssh.sh @@ -0,0 +1,17 @@ +#!/bin/sh +# SSH for people who did not sleep long enough +# Changes background colour to red for remote and resets to LightYellow2 after +# the session is finished +# +# Inspiration by Stefan Bauer +# Coded by Nico Schottelius, 2020-01-19 +# +# Copying: GPLv3 + +printf '\033]10;black\007' +printf '\033]11;red\007' +echo '' +ssh "$@" +printf '\033]11;LightYellow2\007' +printf '\033]10;black\007' +echo ''