Please use $XDG_CONFIG_HOME for config storage · Issue #60 · wagoodman/dive (original) (raw)

https://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html is more than a decade old, nowadays it isn't acceptable to put config dotfiles in $HOME. Majority of CLI applications follow it: systemd, mc, git, htop...

Please switch config path to $XDG_CONFIG_HOME/dive.yaml, with fallback to $HOME/.config/dive.yaml, if the var isn't set.