From 3250af0651ad362b4af519717508196edf1ff67c Mon Sep 17 00:00:00 2001 From: Ryan Kavanagh Date: Sat, 26 Sep 2020 18:09:28 -0400 Subject: sdf ssh script --- bin/sdf | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100755 bin/sdf (limited to 'bin/sdf') diff --git a/bin/sdf b/bin/sdf new file mode 100755 index 0000000..21eee9b --- /dev/null +++ b/bin/sdf @@ -0,0 +1,9 @@ +#!/bin/sh + +SDF=faeroes.sdf.org + +tmux new-session -A -s sdf -d -n com "ssh -t ${SDF} rcom" +tmux set-option -t sdf:^ default-command "ssh -t ${SDF}" +tmux set-option -t sdf:^ remain-on-exit on +tmux new-window -d -c '~' -n irc "ssh -t ${SDF} rirc" +tmux attach -t sdf -- cgit v1.2.3