I took lots of inspiration from nicolashery/mac-dev-setup
Install homebrew
/usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"Install homebrew apps
cd ~/.dotfiles && ./brew.shClone repo into .dotfiles
git clone https://github.com/elijahc/dotfiles .dotfilesInstall Oh My Zsh
sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"Install zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlightingtouch ~/.gitconfigUpdate gitconfig
[user]
name = Firstname Lastname
email = you@example.com
[github]
user = username
[alias]
a = add
cm = commit -m
s = statusmkdir ~/.ssh && touch ~/.ssh/configupdate .ssh/config
Host *
AddKeysToAgent yes
UseKeychain yes
IdentityFile ~/.ssh/id_rsa
Host myssh
HostName example.com
User user
IdentityFile ~/.ssh/key.pemUse Tim Pope's sensible vim defaults
mkdir -p ~/.vim/pack/tpope/start
cd ~/.vim/pack/tpope/start
git clone https://tpope.io/vim/sensible.gitInstall rbenv
brew install rbenvAdd the following to .bash_profile/.bashrc:
eval "$(rbenv init -)"Install pyenv
brew install pyenv pyenv-virtualenvAdd the following to .bash_profile/.bashrc:
# Load pyenv and virtual env
if command -v pyenv 1>/dev/null 2>&1; then eval "$(pyenv init -)"; fi
if which pyenv-virtualenv-init > /dev/null; then eval "$(pyenv virtualenv-init -)"; fi