#!/bin/bash THISDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" echo echo Removing existing files. rm ~/.{gitignore,gemrc,tmux.conf,gitconfig,bashrc,zshrc} echo Making symlinks... ln -s $THISDIR/.gitignore ~/.gitignore ln -s $THISDIR/.gemrc ~/.gemrc ln -s $THISDIR/.tmux.conf ~/.tmux.conf ln -s $THISDIR/.zshrc ~/.zshrc ln -s $THISDIR/ubuntu/.gitconfig ~/.gitconfig ln -s $THISDIR/ubuntu/.bashrc ~/.bashrc unset THISDIR echo echo Done. echo