Skip to content

[Bug] install.sh output shows incorrect destination path for copilot installation #228

@Financier-Nuri

Description

@Financier-Nuri

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

  1. Run ./scripts/install.sh --tool copilot
  2. 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+

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions