Your dotfiles are personal. Fork this repo on Github, and then clone it on your computer.
# Create a global variable storing
# You need to replace what's *after* the equal sign by your own github username (case sensitive)
#
# e.g.: GITHUB_USERNAME=ssaunier
#
$ GITHUB_USERNAME=put_your_github_username_here
Then execute the 3 following lines without changing anything:
$ mkdir -p ~/code/$GITHUB_USERNAME && cd $_
$ git clone git@github.com:$GITHUB_USERNAME/dotfiles.git
$ cd dotfiles
Open the gitconfig
file with Sublime Text. Change line 2 & 3 of this file,
put your full name (first & last name) and email (same as the one you signed up
to GitHub) and save the file.
Now, you should push this changes back to GitHub.
$ git add gitconfig
$ git commit --message "My identity for @lewagon in the gitconfig"
$ git push origin master
You can review your changes here:
$ open https://github.com/$GITHUB_USERNAME/dotfiles
Now you can run the install script. It will not override existing config files, just rename them as #{file}.backup
.
Assumption: you have oh-my-zsh
is already installed.
$ ./install.sh
You're all set!