You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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 default summoner.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:
@patrickt This looks potentially useful. I don't mind supporting this feature. The xdg-basedir library looks small and reasonable, so it's acceptable to add it to dependencies. We will look into this and think about the implementation of this feature. I would like to read about XDG base directory before implementing this feature and understanding how to fit it better in Summoner.
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: