Skip to content
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

Respect XDG environment variables for .aftman folder #46

Open
4xMSAA opened this issue Apr 22, 2023 · 0 comments
Open

Respect XDG environment variables for .aftman folder #46

4xMSAA opened this issue Apr 22, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@4xMSAA
Copy link

4xMSAA commented Apr 22, 2023

Rather than placing the .aftman folder directly into HOME, I'd much prefer if it tried out the XDG_DATA_HOME environment variable first, then fall back to HOME.

It may also be a little better to separate aftman.toml into XDG_CONFIG_HOME which would make backups easier.

Additionally, perhaps make use of an environment variable named AFTMAN_HOME, much like RUSTUP_HOME and CARGO_HOME are (although this may pollute the env, it is still better than not having an option where .aftman is found at all)

@LPGhatguy LPGhatguy added the enhancement New feature or request label Apr 22, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants