X-Git-Url: https://apps.delaporte.us/gitweb/dotfiles.git/blobdiff_plain/7566f116d71047992ebbd5343dd5ccbd94a37727..a0eefcc876211fcbf11c858b9250b859dc0da95a:/bootstrap.sh diff --git a/bootstrap.sh b/bootstrap.sh index 4258a76..9dec82f 100755 --- a/bootstrap.sh +++ b/bootstrap.sh @@ -1,5 +1,15 @@ +# Reminder to future self: +# You can scp just this file to the destination host, +# and then run it. + +if [ ! -f ~/.ssh/id_rsa ]; then + ssh-keygen +fi + if [ ! -d ~/dotfiles ]; then cd ~; git clone git@github.com:edthedev/dotfiles.git + cp ~/dotfiles/id_rsa.pub ~/id_rsa.pub + chmod go+r ~/id_rsa.pub fi if [ ! -f ~/.zshrc ]; then