/mac-dev-env

macOS Development Environment

Primary LanguageShell

macOS Development Environment

Homebrew

Install dependencies

brew bundle

SSH

Generate a key pair

ssh-keygen -t rsa -b 4096 -C "email@example.com"

Add the following to your ~/.ssh/config

Host *
  UseKeychain yes

Git

Configure Git settings

git config --global user.name "Your Name"
git config --global user.email "email@example.com"
git config --global push.default simple
git config --global core.editor "vim"
git config --global core.ignorecase false
git config --global pull.rebase false

Zsh

iTerm2

Theme

Go to Preferences > Profiles > Colors.

Import and select the theme under Color Presets.

Font

Go to Preferences > Profiles > Text and change Font to "Fira Code".

Check the box that says "Use ligatures".

Uncheck the box that says "Italic text".

Vim

Run :PlugInstall in Vim to fetch and install the plugins.

tmux

Press prefix + I in a tmux session to fetch and install all plugins.

asdf-vm

Included is asdf-vm, which you can use to manage multiple runtime versions of Python, Ruby, etc.

Visual Studio Code

Install extensions

./scripts/vscodex.sh

Enable key repeat on macOS

defaults write com.microsoft.VSCode ApplePressAndHoldEnabled -bool false

Settings

Keybindings