Configure non-conforming applications to use XDG Base Directory specification
please-use-xdg.sh
.profile
or shell configuration fileMaybe other, but I haven't tested it in other shells.
$HOME/.ackrc
-> $XDG_CONFIG_HOME/ack/ackrc
$HOME/.atom
-> $XDG_CONFIG_HOME/atom
$HOME/.aws
-> $XDG_CONFIG_HOME/aws
$HOME/.azure
-> $XDG_DATA_HOME/azure
$HOME/.bundle/config
-> $XDG_CONFIG_HOME/bundle/config
$HOME/.bundle/cache
-> $XDG_CACHE_HOME/bundle
$HOME/.bundle/plugin
-> $XDG_DATA_HOME/bundle/plugin
$HOME/.cargo
-> $XDG_DATA_HOME/cargo
$HOME/.docker
-> $XDG_CONFIG_HOME/docker
$HOME/.docker/machine
-> $XDG_DATA_HOME/docker/machine
$HOME/.gnupg
-> $XDG_CONFIG_HOME/gnupg
$HOME/.hex/hex.config
-> $XDG_CONFIG_HOME/hex/hex.config
$HOME/.hex/{cache.ets,packages}
-> $XDG_CACHE_HOME/hex/{cache.ets,packages}
$HOME/.hex/docs
-> $XDG_DATA_HOME/hex/docs
$HOME/.lesskey
-> $XDG_CONFIG_HOME/less/lesskey
$HOME/.lesshst
-> $XDG_STATE_HOME/less/history
$HOME/.Mathematica
-> $XDG_CONFIG_HOME/Mathematica
$HOME/.mix/config.exs
-> $XDG_CONFIG_HOME/mix/config.exs
$HOME/.mix/{archives,escripts}
-> $XDG_DATA_HOME/mix
$HOME/.node_repl_history
-> $XDG_STATE_HOME/node/repl_history
$HOME/.notmuch-config
-> $XDG_CONFIG_HOME/notmuch/config
$HOME/.nv
-> $XDG_CACHE_HOME/nv
$HOME/.nvm
-> $XDG_DATA_HOME/nvm
$HOME/.parallel
-> $XDG_CONFIG_HOME/parallel
$HOME/.psqlrc
-> $XDG_CONFIG_HOME/postgres/rc
$HOME/.psql_history
-> $XDG_STATE_HOME/postgres/history
$HOME/.pgpass
-> $XDG_CONFIG_HOME/postgres/pass
$HOME/.pg_service.conf
-> $XDG_CONFIG_HOME/postgres/service.conf
$HOME/.inputrc
-> $XDG_CONFIG_HOME/readline/inputrc
$HOME/.rustup
-> $XDG_DATA_HOME/rustup
$HOME/.vagrant.d
-> $XDG_DATA_HOME/vagrant
$HOME/.weechat
-> $XDG_CONFIG_HOME/weechat
† - it partially uses XDG specs, but fall back to default when XDG variables aren't present
This list is not full. If you find something that you are using, please add it and spread the word.