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

Unix config normalization #542

Closed
noraj opened this issue Apr 18, 2022 · 2 comments
Closed

Unix config normalization #542

noraj opened this issue Apr 18, 2022 · 2 comments

Comments

@noraj
Copy link
Contributor

noraj commented Apr 18, 2022

It's really nice to have Configuration files with ffufrc.
However having ~2000 "dotfiles" in $HOME is a bit less nice.

That why I suggest implementing a XDG compliant config deployment.

The idea would be to have ~/.config/ffuf/config.ini instead of the legacy ~/.ffufrc.

@daniel-ts
Copy link

My pull request addresses this issue. See #582.

Basically, ffuf would look for .ffufrc first in the current working directory, then in $XDG_CONFIG_HOME/.ffufrc on Linux and then $HOME/.ffufrc.

This pull also provides a mechanism to merge configuration from different sources sanely. The default hierarchy would be .ffufrc < request file < explicit config file < commandline args.

@noraj
Copy link
Contributor Author

noraj commented Feb 13, 2023

I guess this issue has been covered by 2.0 release. #582 still introduces more changes and simplifications.

@noraj noraj closed this as completed Feb 13, 2023
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

2 participants