]> us-delaporte.pagekite.me Git - dotfiles.git/blobdiff - bootstrap.sh
Ignore stray minion log files.
[dotfiles.git] / bootstrap.sh
index 2b156d3ae6c6612fd06cc69d9e73eacbe3c1513a..5cba2e70866e640fc0fd634cf82496623d0a4297 100755 (executable)
@@ -1,7 +1,21 @@
-ln -s ~/dotfiles/zshrc ~/.zshrc
-cd ~/dotfiles/antigen;git submodule update --init
 
-ln -s ~/dotfiles/vimrc ~/.vimrc
+if [ ! -d ~/dotfiles ]
+       cd ~; git clone git@github.com:edthedev/dotfiles.git
+fi
 
-git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
-vim +BundleInstall +qall
+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