Dotfiles: What they are, why you need one, where they live, how to do it?
What they are
Dotfiles are configuration files that reside in your home (~) directory. They are hidden files, preceded with a dot (.), that's why they're called dotfiles and usually have a rc suffix (e.g. .bashrc, .vimrc).
It is usual to share dotfiles and learn from others. This is ...