refer from https://github.com/cfitz/dotfiles