add myssh.sh
This commit is contained in:
parent
b6aa33509c
commit
188ae92643
1 changed files with 17 additions and 0 deletions
17
myssh.sh
Executable file
17
myssh.sh
Executable file
|
@ -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 ''
|
Loading…
Reference in a new issue