attach to session window 1

This commit is contained in:
2015-11-16 22:22:36 -07:00
parent 373c946960
commit 485713751a
+2 -1
View File
@@ -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 send-keys -t "${session}:2.1" "journalctl -f" C-m
tmux new-window -n "scratch" -t "${session}" 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}" tmux attach-session -t "${session}"