All tmux sessions as a single terminal

by lygtenon 3/9/2026, 5:09 AMwith 1 comments

tmux new-session -d -s all \; set -t all mouse on \; set-option -t all destroy-unattached off >/dev/null 2>&1; for s in $(tmux list-sessions -F '#{session_name}' | grep -v '^all$'); do tmux link-window -s "$s:" -t all:; done; tmux attach -t all

by lygtenon 3/9/2026, 5:10 AM

Great for running multiple agents