MycroftAI / mycroft-core

Mycroft Core, the Mycroft Artificial Intelligence platform.
https://mycroft.ai
Apache License 2.0
6.51k stars 1.27k forks source link

Create .profile_mycroft in $XDG_CONFIG_HOME #2969

Closed ghost closed 3 years ago

ghost commented 3 years ago

I have $XDG_CONFIG_HOME set to $HOME/cloud/config and I want .profile_mycroftto go in $XDG_CONFIG_HOME/mycroft/profile but it is created in the home directory instead. So I've changed it's location to the one I want, but as it says that the file may be replaced in future the reference I've written to it will miss any changes made to the file when it's generated in $HOME again.

PureTryOut commented 3 years ago

Note that #2802 is getting rid of that file completely, and it's part of a larger effort of mine to make the entirety of MyCroft follow the XDG Base Directory Specification.

ghost commented 3 years ago

Oh, perfect.