]> us-delaporte.pagekite.me Git - dotfiles.git/blob - bootstrap.sh
28d0dc0e015a1fca09040446898c5f1fb0b8ed1e
[dotfiles.git] / bootstrap.sh
1 # Reminder to future self:
2 # You can scp just this file to the destination host,
3 # and then run it.
4
5 if [ ! -f ~/.ssh/id_rsa ]; then
6 ssh-keygen
7 fi
8
9 if [ ! -d ~/dotfiles ]; then
10 cd ~; git clone git@github.com:edthedev/dotfiles.git
11 fi
12
13 if [ ! -f ~/.zshrc ]; then
14 ln -s ~/dotfiles/zshrc ~/.zshrc
15 fi
16
17 if [ ! -f ~/dotfiles/antigen/README.md ]; then
18 cd ~/dotfiles;git submodule update --init
19 fi
20
21 if [ ! -f ~/.vimrc ]; then
22 ln -s ~/dotfiles/vimrc ~/.vimrc
23 fi
24
25 if [ ! -d ~/.vim/bundle ]; then
26 git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
27 vim +BundleInstall +qall
28 fi