-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathspawn_and_setup_all
More file actions
executable file
·42 lines (34 loc) · 1.12 KB
/
spawn_and_setup_all
File metadata and controls
executable file
·42 lines (34 loc) · 1.12 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
#!/bin/bash
# Complete workflow to spawn and setup all staff workspaces
STAFF_DIR="/Users/gregorywhiteside/Projects/.staff"
BRANCH_NAME="${1:-greg}"
echo "==================================="
echo "Staff Workspace Setup"
echo "==================================="
echo "Directory: $STAFF_DIR"
echo "Branch: $BRANCH_NAME"
echo ""
# Step 1: Spawn all workspaces
echo "Step 1: Spawning workspaces..."
/Users/gregorywhiteside/Projects/.scripts/spawn_staff_workspaces "$BRANCH_NAME"
# Wait for windows to open
echo ""
echo "Waiting for windows to initialize..."
sleep 5
# Step 2: Setup all workspaces
echo ""
echo "Step 2: Configuring workspaces..."
echo "(This requires Terminal accessibility permissions)"
/Users/gregorywhiteside/Projects/.scripts/setup_workspaces "$BRANCH_NAME"
echo ""
echo "==================================="
echo "Setup Complete!"
echo "==================================="
echo ""
echo "Your workspaces are ready:"
/Users/gregorywhiteside/Projects/.scripts/list_terminals
echo ""
echo "Each workspace:"
echo "✓ Is on branch: $BRANCH_NAME"
echo "✓ Has latest changes pulled"
echo "✓ HTML title matches terminal name"