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

use $XDG_CONFIG_HOME for default config file path #741

Open
michaelBelsanti opened this issue Feb 4, 2025 · 0 comments
Open

use $XDG_CONFIG_HOME for default config file path #741

michaelBelsanti opened this issue Feb 4, 2025 · 0 comments

Comments

@michaelBelsanti
Copy link

It would be great it rustscan could use XDG_CONFIG_HOME on Linux to respect the XDG Base Directory spec and avoid cluttering the user's home directory. I believe it would make sense to check for an existing file here, then fallback to ~/.rustscan.toml if it does not exist. It may also make sense to support this on MacOS if the environment variable is set, as that seems to be a commonly requested feature in other software. I'm not sure of an equivalent on Windows.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant