tfutils / tfenv

Terraform version manager
MIT License
4.48k stars 454 forks source link

Respect XDG_DATA_HOME and store downloaded files there #322

Open reegnz opened 2 years ago

reegnz commented 2 years ago

tfenv should respect standard locations for application data in a users home. If XDG_DATA_HOME is defined, it should store it's data there.

Current workaround is to define TFENV_CONFIG_DIR="$XDG_DATA_HOME/tfenv" environment variable, but it would be nice if tfenv would respect the XDG_DATA_HOME out of the box.