-
Notifications
You must be signed in to change notification settings - Fork 1.1k
Open
Labels
Description
Describe the bug
With XDG_CONFIG_HOME set to something like the standard $HOME/.config, copilot does not properly set its directory.
Affected version
GitHub Copilot CLI 0.0.406
Steps to reproduce the behavior
- Set
XDG_CONFIG_HOME=$HOME/.config - copilot
- /mcp add
- Enter a mcp server configuration
- Outputs to
$HOME/.config/.copilot - Should output to
$HOME/.config/copilot
Expected behavior
The expected behavior with XDG_CONFIG_HOME is to not use a hidden directory. Instead, it should use a plain directory, clearly visible.
Copilot should be ~/.config/copilot
Additional context
Test on macOS and Linux.
Reactions are currently unavailable