Files
dotfiles/setup_mac.sh
Tim McCarthy 340df909ba Deployment improvements
Replace deploy.sh with deploy.py
Some updates to setup scripts, for more consistency
Split out some common unix setup tasks into a script that both mac and
linux scripts call.
2020-04-23 13:39:20 -07:00

23 lines
657 B
Bash

#!/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
curl -s 'https://macapps.link/en/firefox-bettertouchtool-dropbox-alfred-sublime-iterm-unarchiver-transmit' | sh
sudo bash -c "echo /usr/local/bin/fish >> /etc/shells"
chsh -s /usr/local/bin/fish
ssh-keygen -t rsa -f $HOME/.ssh/id_rsa -q -P ""
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."
git clone git@github.com:tim-mccarthy/dotfiles.git $HOME/.dotfiles
bash ~/.dotfiles/setup_unix_common.sh