test for XDG_CONFIG_HOME - ref #8
test for XDG_CONFIG_HOME - ref #8

and $HOME/config/composer dir via (https://github.com/ntoniazzi/composer/blob/master/src/Composer/Factory.php#L100)
oh-my-fish/plugin-composer