withfig / fig

Public issue tracker for Fig.
https://fig.io
MIT License
2.05k stars 63 forks source link

Use XDG directory for config #545

Open sebdanielsson opened 2 years ago

sebdanielsson commented 2 years ago

Sanity checks

Issue Details

Would be great if fig could use the $XDG_CONFIG_HOME directory for storing it's config files. After installning lots of software the home directory quickly turns into a mess. A cleaner way that also makes it easier to backup all of our software config would be to use $XDG_CONFIG_HOME/fig. The files then would be located at ~/.config}/fig.

https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html

Environment

Not relevant for this issue. Currently running macOS Monterey on a M1 MacBook Air.
grant0417 commented 2 years ago

We are slowly migrating to respecting XDG directories, this is not currently working for all fig configs however.

sebdanielsson commented 1 year ago

Any chance this is getting fixed anytime soon? ;)