200426.5 · 481b64a667e8d9aca522a0455a00f32dac1f4977
initial commit of ~/bin
This brings over everything that was in my bin-only repository.
I removed scripts that were unused or were no longer understood. I also moved any work-specific scripts to a separate (private) repository.
reading declarations
Changes to bin/tmux-cleanup. All files
@@ -0,0 +1,11 @@+#!/bin/sh++unattached_local=$(+ tmux ls \+ | grep -E '^[0-9]+:' \+ | grep -E -v '\(attached\)' \+ | cut -d':' -f1+)+for session in $unattached_local; do+ tmux kill-session -t $session+done