github / github/copilot-cli

Unable to add-dir with user home directory (Windows)

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

説明

### Describe the bug

When using /add-dir command, if trying to use ~ for home directory, backslash fails to recognize. It's necessary to use forward-slash, but the autocomplete keeps replacing my forward-slash with backslash.

### Affected version

GitHub Copilot CLI 1.0.60

### Steps to reproduce the behavior

/add-dir ~/.agents/skills
Autocomplete will turn it into ~\.agents\skills and I can't override it
add-dir command fails

### Expected behavior

Expect /add-dir with ~\ to work correctly OR
Autocomplete doesn't replace / with \

### Additional context

Windows 11
Using Windows Terminal with pwsh 7

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

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

評価

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

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

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