From c0eb432bc6ae2d4df811b464975e5e1bf7b43eff Mon Sep 17 00:00:00 2001 From: Tim McCarthy Date: Tue, 18 Dec 2018 11:15:02 -0800 Subject: [PATCH] Add the start of the mac setup script --- setup_mac.sh | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 setup_mac.sh diff --git a/setup_mac.sh b/setup_mac.sh new file mode 100644 index 0000000..76e0183 --- /dev/null +++ b/setup_mac.sh @@ -0,0 +1,22 @@ +#!/bin/bash + +/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" +brew update +brew install fish git +brew cask install emacs + +git clone https://github.com/syl20bnr/spacemacs .emacs.d + +sudo bash -c "echo /usr/local/bin/fish >> /etc/shells" +chsh -s /usr/local/bin/fish + +cat /dev/zero | ssh-keygen -q -N "" + +echo "Your SSH public key is:" +echo "" +cat ~/.ssh/id_rsa.pub +echo "" +read -p "Please add it to GitHub, then press enter to continue." + +curl -s 'https://macapps.link/en/chrome-bettertouchtool-dropbox-alfred-sublime-iterm-unarchiver-transmit' | sh +