github / github/copilot-cli

Allow users to customize prompt symbols and status line

Aperta
#2,329 1 commento 2 reazioni 0 assegnatari Vedi su GitHub
area:configuration area:terminal-rendering
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

## Feature Request

Allow users to customize the symbols and indicators shown in the Copilot CLI prompt, similar to how tools like Starship allow full prompt configuration.

## Context

The Copilot CLI prompt includes a git branch glyph (U+2387 ⎇) and dirty indicator. While these render, they may not look great depending on the user's font/terminal setup. There's currently no way to change them.

## Desired behavior

Allow users to configure prompt symbols via `~/.copilot/config.json` or a dedicated config, for example:

```json
{
"prompt": {
"branchIcon": "⎇",
"dirtyIndicator": "△",
"untrackedIndicator": "?",
"aheadIndicator": "⇡",
"behindIndicator": "⇣"
}
}
```

Or alternatively, allow users to disable the built-in prompt status line entirely and rely on their own shell prompt.

## Why

- Different fonts render glyphs differently — what looks good in one setup may look off in another
- Power users already have customized prompts (Starship, oh-my-posh, custom functions) and may prefer consistency
- Similar to Claude Code's `/statusline` configuration

Guida per i contributori

Apri la guida per i contributori

Direzione di ricerca

Start by locating the Copilot CLI prompt and status-line implementation, then review how ~/.copilot/config.json or another configuration source is loaded. Define whether completion means configurable branch and git-state symbols, disabling the built-in status line, or both, and verify the selected behavior in the CLI prompt.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Valutazione

Stack tecnologico
shell
Ambito
cli
Tipo di issue
Funzionalità
Difficoltà
5/5
Tempo stimato
Più di una settimana
Stato di attività
Tranquilla
Chiarezza
Abbastanza chiara
Idoneità per principianti
35/100

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.