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.
Describe the bug
With
XDG_CONFIG_HOMEset 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
XDG_CONFIG_HOME=$HOME/.config$HOME/.config/.copilot$HOME/.config/copilotExpected 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/copilotAdditional context
Test on macOS and Linux.