Skip to content
This repository was archived by the owner on Oct 30, 2025. It is now read-only.
This repository was archived by the owner on Oct 30, 2025. It is now read-only.

[BUG]: Using aliases always write bad option -s #133

Open

Description

@lmazuel

Thanks for taking the time to fill out this out! 🙇
By submitting this issue, you agree to follow our Code of Conduct.

What happened?

What did you do? What happened? What did you expect to happen?

After setting up the aliases in my .bashrc, the command work but always write:

ghcs:history:77: bad option: -s
ghcs:history:77: bad option: -s

Versions

What versions of the relevant software are you running?

GH 2.67.0 and Extension 1.1.0

Relevant terminal output

Please copy and paste any relevant terminal output.
Please check your output before submission to ensure sensitive information is redacted.

> ghcs update gh copilot extension

Welcome to GitHub Copilot in the CLI!
version 1.1.0 (2025-02-10)

I'm powered by AI, so surprises and mistakes are possible. Make sure to verify any generated code or suggestions, and share feedback so that we can learn and improve. For more information, see https://gh.io/gh-copilot-transparency

Suggestion:

  gh extension upgrade github/gh-copilot

? Select an option
> Execute command

? Are you sure you want to execute the suggested command?
> Yes
ghcs:history:77: bad option: -s
ghcs:history:77: bad option: -s

[copilot]: already up to date
✓ Successfully checked extension upgrades

Bashrc line is just:

eval "$(gh copilot alias -- bash)"

I don't have any warnings or anything that feels wrong when I load my bash shell.

I'm on WSL Ubuntu 24.04.2. LTS

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingneeds-triageneeds to be reviewed

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions