1
0
mirror of https://github.com/Morantron/tmux-fingers.git synced 2024-06-26 07:29:11 +02:00
tmux-fingers/kill-windows.sh
2023-09-27 15:21:48 +02:00

4 lines
160 B
Bash

for id in $(tmux list-windows -F "#{window_id}:#{pane_id}:#{window_name}" | grep -v ":$1:" | grep "fingers" | cut -f1 -d:); do
tmux kill-window -t $id
done