summaryrefslogtreecommitdiffstats
path: root/bridge/lib/bridge/bin/destroy
blob: dffdbd8a97f0ac8f20b8fd73821d1c5881d15aaf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
#! /bin/sh
#
# Destroy a session.
#
## SYNOPSIS
#
#     bridge destroy SESSION
#
# Note that this may destroy similar named sessions (by implication / tmux)
#
set -euf
tmux -L bridge kill-session -t "$1"