-
Notifications
You must be signed in to change notification settings - Fork 26
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_CONFIG_HOME request #99
Comments
You can change the constants.py in libpius directory for the variable "PIUS_HOME". |
I will add support for XDG_CONFIG_HOME - just need to get around to doing this and adding the proper back-compat stuff |
Doing a bit of testing should be able to tell if XDG_CONFIG_HOME is an env variable, if not then it will check to see if directory .config exists, else it will stick with the fallback of .pius |
#104 should contain the enhancement you are looking for. |
* This adds a new PIUS_DEBUG environment variable for enabling debug early * This adds support for XDG_CONFIG_HOME and XDG_DATA_HOME (Fixes #99) * refactors quite a bit of Util into a new class
Support is now in the |
3.0.0 is now out which fixes this. |
@jaymzh - Thank you! |
Would you consider supporting the standard XDG_CONFIG_HOME
~/.config
for pius? This would prevent yet another dot directory in HOME.It looks like there's been some work in this context before that supports backward compatibility for older config files, but I'm not familiar enough with the codebase to take a stab at it myself.
Either way, thanks for the great tool.
The text was updated successfully, but these errors were encountered: