Clone the repo onto your local machine.
$ git clone [email protected]:maxluzuriaga/dotfiles.git ~/dotfiles
Then run the install script from within the directory to set up the symlinks in ~
. The script automatically archives existing dotfiles that it replaces by moving them into the dotfiles folder with the extension .old
. Useful if you want to keep the old dotfiles around for later.
$ cd ~/dotfiles
$ ./install.sh
Note that you can override or add additional configuration on local machines for Bash and Vim by creating and editing ~/.bashrc_local
or ~/.vimrc_local
respectively.
Inspiration / code for the install script came from jeffaco's dotfile repo.
Credit also to anishathalye for the idea of having a local vimrc file for each installation for machine-specific Vim config. Taken from his .vimrc here.