attach to session window 1
This commit is contained in:
@@ -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}"
|
||||||
|
|||||||
Reference in New Issue
Block a user