
Is your feature request related to a problem? Please describe.
I'm always frustrated when i've got a million dotfiles in my home directory, I don't need them there. I'd like them in a ~/.config/k9s/ directory instead so that I can be proud that my favourite tools are following best practices and not cluttering up my home directory.
Describe the solution you'd like
i'd like the default config directory for k9s to be ~/.config/k9s/
Describe alternatives you've considered
potentially an environment variable that allows you to set the config directory, with ~/.config/k9s being the default value for that variable. If it doesn't find anything it could e.g. fail over to the original config location
Additional context
none
This is related to XDG specification. I think it would help if this feature request at least links to said specification or details the implications/etc of said specification:
https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html
Also a nice summary:
@cyclingwithelephants v0.20.4 now offers K9SCONFIG env var so you can designate an alternate config dir for K9s.
Most helpful comment
@cyclingwithelephants v0.20.4 now offers K9SCONFIG env var so you can designate an alternate config dir for K9s.