Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
will-gant authored Aug 8, 2022
1 parent 1aca213 commit cd1d08d
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
1. [Install brew](https://brew.sh/) (requires sudo)
1. Run the following to download the latest release of this repo and then run the setup script:
```bash
setup_repo="$(mktemp -d)"
zipball_url="$(curl -s https://api.github.com/repos/will-gant/mac-setup/releases/latest | grep zipball_url | cut -d '"' -f 4)"
zip_file="${setup_repo}/repo.zip"
curl --location "$zipball_url" --output "${setup_repo}/repo.zip"
unzip "$zip_file" -d "$setup_repo"
bash "$setup_repo/*mac-setup*/setup.sh"
setup_repo="$(mktemp -d)"
zipball_url="$(curl -s https://api.github.com/repos/will-gant/mac-setup/releases/latest | grep zipball_url | cut -d '"' -f 4)"
zip_file="${setup_repo}/repo.zip"
curl --location "$zipball_url" --output "${setup_repo}/repo.zip"
unzip "$zip_file" -d "$setup_repo"
bash "$(ls "$setup_repo/*mac-setup*/setup.sh")"
```
1. Retrieve SSH private key from password manager and copy it into ~/.ssh/id_rsa
1. Run `eval "$(ssh-agent -s)"`
Expand Down

0 comments on commit cd1d08d

Please sign in to comment.