summaryrefslogtreecommitdiffstats
path: root/bridge/lib/bridge/bin/create
blob: 31b2f3d836560bd03b62a93250b48a2e2b533fc3 (plain)
1
2
3
4
5
6
#! /bin/sh
set -euf
target="$1"; shift
tmux -L bridge new-session -d -s "$target" "$@"
tmux -L bridge set-buffer READY.
exec "$(dirname $0)/attach" "$target"