将所有 tmux 会话作为一个终端显示

2作者: lygten大约 2 个月前原帖
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
查看原文
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