Add the start of the mac setup script
This commit is contained in:
22
setup_mac.sh
Normal file
22
setup_mac.sh
Normal 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
|
||||||
|
|
||||||
Reference in New Issue
Block a user