github / github/copilot-cli

Allow users to customize prompt symbols and status line

未關閉
#2,329 1 則留言 2 個 reaction 已指派 0 人 在 GitHub 檢視
area:configuration area:terminal-rendering
主要語言
Shell
星號
11.2k
分支
1.9k
平均合併
14 小時 16 分鐘
30 天內合併 PR
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 摘要。