-
-
Notifications
You must be signed in to change notification settings - Fork 73
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
Configuration should support the XDG Base Directory Specification #478
Comments
Update: I have a hack to make this work in my local copy. If you’re interested, I can try to make it better and submittable. |
@patrickt This looks potentially useful. I don't mind supporting this feature. The |
The XDG Base Directory Specification provides a standard for storing configuration files (usually looking like
.config/$PROGRAMNAME/$CONFIGFILE
, though configurable with a set of defined environment variables). I like this specification a lot, since it enables me to keep all my system config files in one place—I use it for Emacs, fish-shell,proselint
, and many more. It would be really cool if I could keep my defaultsummoner.toml
in my.config
repo. The downside of this is that each program has to determine in what order it looks up config files (e.g. Emacs prefers~/.config/emacs/init.el
, but if that doesn't exist it looks in~/.emacs.d/init.el
).I’d be happy to take a shot at this, assuming a dependency on the
xdg-basedir
directory isn’t out of the question.The text was updated successfully, but these errors were encountered: