aboutsummaryrefslogtreecommitdiff
path: root/bin/sdf
diff options
context:
space:
mode:
authorRyan Kavanagh <rak@rak.ac>2020-09-26 18:09:28 -0400
committerRyan Kavanagh <rak@rak.ac>2020-09-26 18:09:28 -0400
commit3250af0651ad362b4af519717508196edf1ff67c (patch)
tree25af3e053ce415f4b0928ad8d3ae4b6ef27bed67 /bin/sdf
parentmut aliases (diff)
sdf ssh script
Diffstat (limited to 'bin/sdf')
-rwxr-xr-xbin/sdf9
1 files changed, 9 insertions, 0 deletions
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