chore: update XDG_CONFIG_HOME default path in setup_copilot_config function

This commit is contained in:
35C4n0r 2026-03-13 15:10:30 +05:30
parent 2d8699b465
commit c70954191e
No known key found for this signature in database
GPG Key ID: 5B71E5C9D18D5675

View File

@ -76,7 +76,7 @@ setup_copilot_configurations() {
}
setup_copilot_config() {
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME/.config}"
export XDG_CONFIG_HOME="${XDG_CONFIG_HOME:-$HOME}"
local copilot_config_dir="$XDG_CONFIG_HOME/.copilot"
local copilot_config_file="$copilot_config_dir/config.json"
local mcp_config_file="$copilot_config_dir/mcp-config.json"