X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/1bd2045bd4ac20646434143c5047ffc9782f4827..759ef4c4f99ffb59bb11b6de3baa1bd5b91b8570:/bootstrap.sh diff --git a/bootstrap.sh b/bootstrap.sh index b317dba..5cba2e7 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,5 +1,21 @@ -ln -s ~/dotfiles/zshrc ~/.zshrc -ln -s ~/dotfiles/vimrc ~/.vimrc -git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim -vim +BundleInstall +qall +if [ ! -d ~/dotfiles ] + cd ~; git clone git@github.com:edthedev/dotfiles.git +fi + +if [ ! -f ~/.zshrc ] + ln -s ~/dotfiles/zshrc ~/.zshrc +fi + +if [ ! -d ~/dotfiles/antigen ] + cd ~/dotfiles/antigen;git submodule update --init +fi + +if [ ! -f ~/.vimrc ] + ln -s ~/dotfiles/vimrc ~/.vimrc +fi + +if [ ! -d ~/.vim/bundle ] + git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim + vim +BundleInstall +qall +fi