Add the start of the mac setup script

This commit is contained in:
2018-12-18 11:15:02 -08:00
parent 7278f623b4
commit c0eb432bc6

22
setup_mac.sh Normal file
View File

@@ -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