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: http://standards.freedesktop.org/basedir-spec/basedir-spec-l... .It's easy to understand and requires only a marginal increase in effort/code.