summaryrefslogtreecommitdiffstats
path: root/bridge/lib/bridge/bin/attach
diff options
context:
space:
mode:
Diffstat (limited to 'bridge/lib/bridge/bin/attach')
-rwxr-xr-xbridge/lib/bridge/bin/attach10
1 files changed, 10 insertions, 0 deletions
diff --git a/bridge/lib/bridge/bin/attach b/bridge/lib/bridge/bin/attach
new file mode 100755
index 00000000..f456f8a6
--- /dev/null
+++ b/bridge/lib/bridge/bin/attach
@@ -0,0 +1,10 @@
+#! /bin/sh
+#
+# Attach current tty to a session.
+#
+## SYNOPSIS
+#
+# bridge attach SESSION
+#
+set -euf
+exec tmux -L bridge attach-session -t "$1"