Rob Pike: the origin of dotfiles
Instead of putting a dotfile or dotdir in the user's home directory, do follow the XDG Base Directory specification: <a href="http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html" rel="nofollow">http://standards.freedesktop.org/basedir-spec/basedir-spec-l...</a> .<p>It's easy to understand and requires only a marginal increase in effort/code.