Bug Description
When running ./scripts/install.sh --tool copilot, the script installs agents to both ~/.github/agents and ~/.copilot/agents but the success message only shows one path, causing confusion.
Steps to Reproduce
- Run
./scripts/install.sh --tool copilot
- Observe the output shows only one path
Expected Behavior
The output should clearly show both destination paths:
~/.github/agents
~/.copilot/agents
Actual Behavior
From line 332 in scripts/install.sh:
ok "Copilot: agents -> "
ok "Copilot: agents -> "
The second line overwrites the `` variable reference and only shows the last path in the message.
Suggested Fix
Change line 332 to explicitly reference both variables:
ok "Copilot: agents -> ~/.github/agents"
ok "Copilot: agents -> ~/.copilot/agents"
Or combine into one message:
ok "Copilot: agents -> ~/.github/agents and ~/.copilot/agents"
Environment
- OS: Linux/macOS
- Shell: bash 3.2+