fix: auto-attach on first run
- exec tmux attach after creating session (was missing on fresh create) - removed echo banners that flashed before attach
This commit is contained in:
@@ -52,16 +52,5 @@ tmux send-keys -t "$SESSION:2.1" \
|
||||
# Focus: start on hermes window
|
||||
tmux select-window -t "$SESSION:1"
|
||||
|
||||
echo ""
|
||||
echo " Dev session ready."
|
||||
echo ""
|
||||
echo " Window 1 — hermes : Hermes TUI"
|
||||
echo " Window 2 — timmy-loop:"
|
||||
echo " ┌──────────────────┬──────────────────┐"
|
||||
echo " │ Loop (pane 0) │ Status (pane 2) │"
|
||||
echo " ├──────────────────┤ │"
|
||||
echo " │ Chat (pane 1) │ │"
|
||||
echo " └──────────────────┴──────────────────┘"
|
||||
echo ""
|
||||
echo " Attach: tmux attach -t dev"
|
||||
echo ""
|
||||
# Attach to the session we just created
|
||||
exec tmux attach -t "$SESSION"
|
||||
|
||||
Reference in New Issue
Block a user