#!/bin/sh # I'm soo lazy. cd "$HOME" if ! [ -d bash-config ]; then echo "Where's bash-config?" >&2 exit 1 fi if [ -f .bashrc ] || [ -f .bash_profile ] || [ -f .profile ]; then echo 'Clear out .bashrc, .bash_profile, and .profile first.' >&2 exit 1 fi ln -s bash-config/bash_profile .bash_profile ln -s bash-config/bashrc .bashrc ln -s bash-config/profile .profile