github / github/copilot-cli

Allow users to customize prompt symbols and status line

オープン
#2,329 コメント 1 件 リアクション 2 件 担当者 0 名 GitHub で見る
area:configuration area:terminal-rendering
主要言語
Shell
スター
11.2k
フォーク
1.9k
平均マージ
14時間 16分
マージ済み PR(30日)
6

説明

## 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

コントリビューションガイド

コントリビューションガイドを開く

評価

この issue はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。