Skip to content

Shell commands like cat trigger Copilot CLI "thinking" instead of executing #413

@jasper2virtual

Description

@jasper2virtual

Describe the feature or problem you'd like to solve

No response

Proposed solution

Description:

I'm using GitHub Copilot CLI in the terminal, and I expect it to behave like a shell-native assistant. However, when I type simple shell commands like cat filename.py, Copilot CLI often misinterprets them as natural language prompts and starts "thinking" instead of executing the command.

This breaks the terminal-native workflow and forces me to either:

  • Prefix commands with --shell (which is clunky for frequent use)
  • Open a separate terminal just to run basic shell commands

Expected behavior:
Copilot CLI should:

  • Automatically recognize common shell commands like cat, ls, pwd, etc.
  • Execute them directly without triggering AI inference
  • Provide a fallback or toggle to switch between shell and Copilot modes more fluidly

Why this matters:
Copilot CLI is designed for terminal-first workflows. Having to jump between contexts or prefix every shell command undermines its usability and purpose.


Let me know if you want to add more details or frustrations — I’ll help you polish it further.

Example prompts or workflows

No response

Additional context

No response

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