Last active
November 15, 2020 02:57
-
-
Save calebwashburn/b98ef51d6adf495971b094f90b6443ea to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# install homebrew | |
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)" | |
brew install git lastpass-cli go | |
lpass login caleb.washburn@me.com | |
# get SSH keys from lastpass | |
mkdir -p ~/.ssh | |
lpass show --name ssh-public --notes > ~/.ssh/id_rsa.pub | |
lpass show --name ssh-private --notes > ~/.ssh/id_rsa | |
chmod 0644 ~/.ssh/id_rsa.pub | |
chmod 0600 ~/.ssh/id_rsa | |
cat << EOF > ~/.ssh/config | |
UseKeychain yes | |
Host * | |
AddKeysToAgent yes | |
IdentityFile ~/.ssh/id_rsa | |
EOF | |
git clone git@github.com:calebwashburn/dotfiles ~/dotfiles | |
cd ~/dotfiles/bootstrapper | |
go build -o /usr/local/bin/bootstrapper ./cmd/bootstrapper/main.go | |
cd .. | |
bootstrapper steps |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment