presentations/reading-college/demo/reset

11 lines
211 B
Bash
Executable file

#!/usr/bin/env bash
set -o errexit
set -o nounset
set -o pipefail
tmux list-windows -F '#{window_name} #{window_active}' \
| awk '$2 == 0 {print $1}' \
| xargs -n1 tmux kill-window -t
./.tmux-sessionizer