]> apps.delaporte.us Git - dotfiles.git/blob - bootstrap.sh
Add screenrc
[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 cp ~/dotfiles/id_rsa.pub ~/id_rsa.pub
12 chmod go+r ~/id_rsa.pub
13 fi
14
15 if [ ! -f ~/.zshrc ]; then
16 ln -s ~/dotfiles/zshrc ~/.zshrc
17 fi
18
19 if [ ! -f ~/dotfiles/antigen/README.md ]; then
20 cd ~/dotfiles;git submodule update --init
21 fi
22
23 if [ ! -f ~/.vimrc ]; then
24 ln -s ~/dotfiles/vimrc ~/.vimrc
25 fi
26
27 if [ ! -d ~/.vim/bundle ]; then
28 git clone https://github.com/gmarik/Vundle.vim.git ~/.vim/bundle/Vundle.vim
29 vim +BundleInstall +qall
30 fi