mv ~/.bashrc ~/.bashrc.bak; ln -s $DOTFILES_PATH/.bashrc ~/.bashrc
echo "source $DOTFILES_PATH/.bashrc" >> ~/.bashrc
Here's my install script: https://github.com/shazow/dotfiles/blob/master/install.sh
I've found many benefits in this, such as easily having machine-specific configuration side by side with my unified dotfiles and no backup clutter. This works especially well for things like vim configs, too.
$ cat ~/.vimrc source $DOTFILES_PATH/.vimrc
https://github.com/carlhuda/janus/blob/master/vimrc#L147
Here's my install script: https://github.com/shazow/dotfiles/blob/master/install.sh
I've found many benefits in this, such as easily having machine-specific configuration side by side with my unified dotfiles and no backup clutter. This works especially well for things like vim configs, too.