kryptco / kr

DEPRECATED A dev tool for SSH auth + Git commit/tag signing using a key stored in Krypton.
https://krypt.co/developers/
Other
1.59k stars 109 forks source link

please respect XDG_XXX_HOME environment variables #287

Open ericlagergren opened 4 years ago

ericlagergren commented 4 years ago

Right now, kr defaults to ~/.kr and there does not seem to be a way to change that.

kr should respect the XDG_XXX_HOME environment variables.

See: https://golang.org/pkg/os/#UserConfigDir

wren commented 4 years ago

Or, in absence of support for the XDG spec, can you please provide a way to specify the location of the ~/.kr directory.