refacotr dotfiles

* inspired by Joshua Clayton's [dotfiles](https://github.com/joshuaclayton/dotfiles)