Open googol opened 10 months ago
Thanks for opening this feature request. I'll be glad to take a look at this. I'm thinking of a way to make this happen without breaking the Mac support. Currently $HOME works for both Mac and Linux. Let me look at this a bit more and see what solutions I can come up with. Also feel free to suggest an approach or open a PR. Thanks again for this @googol
Hi, thanks for the great tool!
On linux there's a shift towards storing config files in the
$XDG_CONFIG_HOME
directory, normally configured as$HOME/.config
, to keep the home directory less cluttered. It would be great if target-cli could store it's configs in$XDG_CONFIG_HOME/target
instead of$HOME/.target
.XDG base directories spec: https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Go stdlib supports this out of the box: https://pkg.go.dev/os#UserConfigDir