22 lines · 362 B · executable
#!/bin/bash

THISDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"

function link() {
    rm -rf ~/.$1
    ln -s $THISDIR/$2 ~/.$1
}

link gitignore gitignore
link gemrc gemrc
link eslintrc eslintrc
link zshrc zshrc
link tmux.conf tmux.conf
link gitconfig macos/gitconfig
link bash_profile macos/bash_profile
link bashrc macos/bashrc

echo
echo Done.
echo