github / github/copilot-cli

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

Aperta
#3,719 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
area:input-keyboard area:platform-windows
Lingua principale
Shell
Stelle
11.2k
Fork
1.9k
Merge medio
14h 16m
PR unite (30g)
6

Descrizione

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

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.