It would be nice if Windows also supported and prioritized XDG_CONFIG_HOME env var, if set. While it's not a common standard, it can be easily set by the user and a bunch of cross-system applications support it. Examples: git, github, 0install, ... I know you can use HTTPIE_CONFIG_DIR instead, ut cluttering env vars with lots of vars for different apps isn't too tidy.
Problem it solves
It makes Windows setup a bit easier in certain scenarios, for example with configs saved on cloud, for cross-system configuration.
Additional information, screenshots, or code examples
Checklist
Enhancement request
It would be nice if Windows also supported and prioritized
XDG_CONFIG_HOME
env var, if set. While it's not a common standard, it can be easily set by the user and a bunch of cross-system applications support it. Examples: git, github, 0install, ... I know you can useHTTPIE_CONFIG_DIR
instead, ut cluttering env vars with lots of vars for different apps isn't too tidy.Problem it solves
It makes Windows setup a bit easier in certain scenarios, for example with configs saved on cloud, for cross-system configuration.
Additional information, screenshots, or code examples
The change should be as simple as modifying https://github.com/httpie/httpie/blob/30a6f73ec806393d897247b4c7268832de811ff7/httpie/config.py#L41 to:
or anything alike, e.g. you could ensure that the subdir exists in that dir as well.