-
Notifications
You must be signed in to change notification settings - Fork 1.3k
XDG_CONFIG_HOME is not supported correctly #1347
Copy link
Copy link
Open
Labels
area:authenticationLogin, OAuth, device auth, token management, and keychain integrationLogin, OAuth, device auth, token management, and keychain integrationarea:configurationConfig files, instruction files, settings, and environment variablesConfig files, instruction files, settings, and environment variablesarea:networkingProxy, SSL/TLS, certificates, corporate environments, and connectivity issuesProxy, SSL/TLS, certificates, corporate environments, and connectivity issues
Metadata
Metadata
Assignees
Labels
area:authenticationLogin, OAuth, device auth, token management, and keychain integrationLogin, OAuth, device auth, token management, and keychain integrationarea:configurationConfig files, instruction files, settings, and environment variablesConfig files, instruction files, settings, and environment variablesarea:networkingProxy, SSL/TLS, certificates, corporate environments, and connectivity issuesProxy, SSL/TLS, certificates, corporate environments, and connectivity issues
Type
Fields
Give feedbackNo fields configured for Bug.
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.