You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the feature or problem you'd like to solve
Using /quit is out of habit from years of CLI usage and it costs me a request every time I use it
Proposed solution
Claude Code has an alias for it too. So not matter what the person is used to, it will exit.
Example prompts or workflows
Welcome to GitHub Copilot CLI
Version 0.0.344 · Commit c87f222
Copilot can write, test and debug code right from your terminal. Describe a
task to get started or enter ? for help. Copilot uses AI, check for
mistakes.
● Logged in with gh as user: potatoqualitee
● Connected to GitHub MCP Server
> /quit
● Exiting.
Total usage est: 1 Premium request
Total duration (API): 3.4s
Total duration (wall): 11.2s
Total code changes: 0 lines added, 0 lines removed
Usage by model:
unknown 0 input, 9.9k output, 0 cache read, 0 cache write
(Est. 1 Premium request)
Shutting down...
I just opened a PR to add a command aliasing system to the CLI + an alias for /quit -> /exit.
Treating all messages that start with / as slash commands could be problematic, since this would also match anyone pasting in unix-like paths at the beginning of their message. If you feel strongly about this @SwanX1 please do open a separate issue as this one will get closed out when my PR merges.
Activity
SwanX1 commentedon Oct 19, 2025
A good alternative to this could be not sending any message that starts with
/as a promptEvanBoyle commentedon Oct 20, 2025
I just opened a PR to add a command aliasing system to the CLI + an alias for
/quit->/exit.Treating all messages that start with
/as slash commands could be problematic, since this would also match anyone pasting in unix-like paths at the beginning of their message. If you feel strongly about this @SwanX1 please do open a separate issue as this one will get closed out when my PR merges.RyanHecht commentedon Oct 22, 2025
The alias is implemented in 0.0.349!
potatoqualitee commentedon Oct 24, 2025
awwwweeeeeesome! thank you! 🥳