]>
us-delaporte.pagekite.me Git - dotfiles.git/blob - bootstrap.sh
1 # Reminder to future self:
2 # Step 1: ssh-keygen on remote host.
3 # Step 2: Add ssh pubkey to GitHub as deploy key.
4 # Step 3: clone the repo.
5 # Step 4: Run this bootstrap script.
7 # You can scp just this file to the destination host,
10 if [ ! -f ~
/.ssh
/id_rsa
]; then
14 if [ ! -d ~
/dotfiles
]; then
15 cd ~
; git clone git@github.com
:edthedev
/dotfiles.git
16 cp ~
/dotfiles
/id_rsa.pub ~
/id_rsa.pub
17 chmod go
+r ~
/id_rsa.pub
20 if [ ! -f ~
/.zshrc
]; then
21 ln -s ~
/dotfiles
/zshrc ~
/.zshrc
24 if [ ! -f ~
/.screenrc
]; then
25 ln -s ~
/dotfiles
/screenrc ~
/.screenrc
28 if [ ! -f ~
/dotfiles
/antigen
/README.md
]; then
29 cd ~
/dotfiles
;git submodule update
--init
32 if [ ! -f ~
/.vimrc
]; then
33 ln -s ~
/dotfiles
/vimrc ~
/.vimrc
36 if [ ! -d ~
/.vim
/bundle
]; then
37 git clone https
://github.com
/gmarik
/Vundle.vim.git ~
/.vim
/bundle
/Vundle.vim
38 vim
+BundleInstall
+qall