Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
x/build/maintner: load tokens from XDG config dir #21087
But the XDG spec says that $HOME/.config is the default if it's not specified. So I wouldn't say that this bug is only about if XDG_CONFIG_HOME is set.
I'd just also include the config dir in the search, but keep the existing one.
I've written the XDG search stuff a dozen times.