iTerm

Restore tmux session

profiles > general > send text at start

tmux ls && read tmux_session && tmux attach -t ${tmux_session:-default} || tmux new -s ${tmux_session:-default}