Skip to content

Instantly share code, notes, and snippets.

@erochest
Created Sep 18, 2017
Embed
What would you like to do?
#!/bin/bash
echo "First, make sure your system's up-to-date and you have xcode installed."
echo "Let's get this out of the way."
sudo xcodebuild -license
echo "Getting the Pivotal workstation setup scripts."
curl https://github.com/pivotal/workstation-setup/archive/master.zip | unzip
mv workstation-setup workspace
rmdir workspace/pivotal_ide_prefs
echo "Starting Pivotal workstation setup."
pushd ~/workspace
./labs-engineer.sh
popd
echo "Let's generate a key."
ssh-keygen
cat ~/.ssh/id_rsa.pub | pbcopy
read -p "The key is on your clipboard. Add it to bitbucket and then hit ENTER."
echo "Installing things from CP's script at https://gist.github.com/dehli/75832971bcde45d63aea7c39d3fa85aa"
brew cask uninstall intellij-idea
brew cask install atom emacs soapui intellij-idea-ce
brew cleanup
@adamh

This comment has been minimized.

Copy link

@adamh adamh commented Sep 18, 2017

curl | unzip didn't work as expected.

I had to do:

curl -L -O https://github.com/pivotal/workstation-setup/archive/master.zip
unzip master.zip
mv workstation-setup-master workspace
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment