usr

Modulate your userpace into POSIX-compliant shell scripts!
git clone git://clone.theohenson.com/usr.git
Log | Files | Refs | README

commit fa5a0312ecb37ecc27ba70290caca91ea9a99f0c
parent 0c9e6b3680bdf6f8c3c23e88a8a7651bda503f1c
Author: Theo Henson <[email protected]>
Date:   Tue, 15 Dec 2020 13:42:34 -0500

More tmux stuff

Diffstat:
Ahome/.local/bin/opt/tku | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/home/.local/bin/opt/tku b/home/.local/bin/opt/tku @@ -0,0 +1,5 @@ +#!/bin/sh +# Kills all tmux sessions that are not currently attached to +tmux list-sessions | grep -v attached | while read -r session; do + tmux kill-session -t "${session%%:*}" +done