diff --git a/tmsys.sh b/tmsys.sh index c3b4d5c..a89f0b8 100755 --- a/tmsys.sh +++ b/tmsys.sh @@ -33,5 +33,6 @@ tmux split-window -v -p 30 -t "${session}:2" tmux send-keys -t "${session}:2.1" "journalctl -f" C-m tmux new-window -n "scratch" -t "${session}" -# finally attach to the new session +# finally select window 1 and attach to the new session +tmux select-window -t "${session}:1" tmux attach-session -t "${session}"