Clone the repo to a folder of your choice.
We'll assume ~/work/personal/dotfiles
for this guide.
ln -s ~/work/personal/dotfiles ~/dotfiles
ln -s ~/dotfiles/dircolors ~/.dircolors
Important: this step depends on whether you have a bash profile already
OSX:
ln -s ~/dotfiles/bash_profile_osx ~/.bash_profile
LINUX:
ln -s ~/dotfiles/bash_profile_linux ~/.bash_profile
OSX:
if [ -f ~/dotfiles/bash_profile_osx ]; then source ~/dotfiles/bash_profile_osx ; fi
LINUX:
if [ -f ~/dotfiles/bash_profile_linux ]; then source ~/dotfiles/bash_profile_linux ; fi
git config --global core.excludesfile ~/dotfiles/gitignore_global