-
Notifications
You must be signed in to change notification settings - Fork 10
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support XDG directory standard #336
Comments
|
The correct (detailed) order is:
|
I would stick to using |
That's exactly what the above means. (And that's why I emphasized the order) |
Not really. We shouldn't check $HOME/.config/banzai if a different XDG_CONFIG_HOME is set, but there is no banzai config there. |
Why not? |
Because the referenced xdg standard defines it this way. |
No. It only says what should be the fallback if the relevant env var is not defined. Nothing says we can't use it otherwise. But determining a location for writing a config for the first time is tricky (even without this search entry) |
Yes, and that's the only difference between the two lists in the first two comments on this issue... |
Is your feature request related to a problem? Please describe.
Cool kids keep their home directories clean.
Describe the solution you'd like to see
Support loading configuration from
$XDG_CONFIG_HOME
.Describe alternatives you've considered
This is the way. No alternatives.
Additional context
Should probably wait for spf13/viper#1048
The text was updated successfully, but these errors were encountered: