These are my .dotfiles I use across all machines I work on wich contain all my specific configurations. I followed the workflow from this guy > http://blog.smalleycreative.com/tutorials/using-git-and-github-to-manage-your-dotfiles/
It stores configuration for .dotfiles (.vimrc, .bashrc, .zshrc, .vim) in a single folder (called ~/dotfiles). It than symlinks original .dotfiles in home to those in newly created folder using a small script. That script also stores old configuration in ~/old_dotfiles folder to prevent mishaps.
- install git and config some of the global git parameters ( user.name, user.email, colors... )
- install ssh and generate public/pvt key pair with command
ssh-keygen -t -rsa - log into github and add your newly generated public key to SSH keys
- clone this repository with
git clone git@github.com:ofcan/dotfiles.git ~/dotfiles - make script executable with
chmod +x make_sym_links.sh ./make_sym_links.shto run it- that should be it!
- make the changes
- commit and push
- note that you don't have to run
./make_sym_links.shagain. That is only necessary on the 1st configuration
Thanks for using my .dotfiles! If you have any idea on how to improve them, please do tell :)