# Links configuration files to the ones listed here. Backup and remove your's # and then run this script (while inside repo directory). # # Note: This solution is lazy and causes some problems. Like not being able to # track vim pluggins. # bash ln -s ${PWD}/profile ~/.profile ln -s ${PWD}/bash_aliases ~/.bash_aliases ln -s ${PWD}/bashrc ~/.bashrc ln -s ${PWD}/inputrc ~/.inputrc # vim # ~/.vimrc takes priority over ~/.vim/vimrc, so remove the former first [ -d ~/.vim/ ] || mkdir -p ~/.vim/{undo,swap,backup,plugin} ln -s ${PWD}/vim/vimrc ~/.vim/vimrc ln -s ${PWD}/vim/fun.vim ~/.vim/fun.vim # done echo "all done :)"