23 lines
657 B
Bash
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
|