Skip to content

Instantly share code, notes, and snippets.

@jacksonblankenship
Last active September 9, 2021 18:34
Show Gist options
  • Save jacksonblankenship/add88f8d05447f09008974a90cb178db to your computer and use it in GitHub Desktop.
Save jacksonblankenship/add88f8d05447f09008974a90cb178db to your computer and use it in GitHub Desktop.
Macbook Pro Configuration

Macbook Pro Configuration

The gist describes how I like to configure my Macbook Pro. I primarily wrote this gist in case something ever happened to my Mac but others may benefit from my configuration - so, here you go.

macOS Settings

  • System Preferences > Trackpad > Point & Click > Enable Tap to click
  • System Preferences > Accessibility > Pointer Control > Trackpad Options... > Enable dragging (three finger drag)
  • System Preferences > Dock & Menu Bar > Disable Show Recent Applications in Dock
  • System Preferences > Dock & Menu Bar > Enable Minimize Windows into Application Icon
  • System Preferences > Keyboard > Input Sources > Disable Show Input Menu in Menu Bar

Applications

App Store

  • Dashlane
  • Slack
  • Spark
  • Fantastical
  • OmniFocus 3
  • Evernote

Web Downloads

  • Google Chrome
  • iTerm 2
  • ExpressVPN
  • Spotify
  • Zoom
  • Visual Studio Code
  • Microsoft Teams
  • Sonos Controller
  • CleanMyMac X
  • RunJS

Terminal

This is my preferred terminal configuration. There are many like it, but this one is mine.

Install macOS developer tools

Click here to read more about xcode-select.

xcode-select --install

Install Homebrew

Click here to read more about Homebrew.

/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"

Install Homebrew packages

Even though macOS ships with git, vim and zsh, I still install them through Homebrew to get the latest versions.

brew install antigen cowsay fortune gh git node thefuck vim z zsh

Generate SSH key and register with GitHub

Generate an SSH key for this machine and register it with GitHub.

ssh-keygen -t rsa -N '' -f ~/.ssh/id_rsa <<< y
cat ~/.ssh/id_rsa.pub | pbcopy
open -a "Google Chrome" https://github.com/settings/ssh/new

Get dotfiles

I host all of my important dotfiles on GitHub.

Note: The second command will actually "checkout" the dotfiles to the home directory. It will fail if there are any conflicting files. If this occurs, delete/move the conflicting files and run the command again.

git clone --bare [email protected]:jacksonblankenship/dotfiles.git $HOME/.dotfiles
/usr/local/bin/git --git-dir=$HOME/.dotfiles/ --work-tree=$HOME checkout && open -a iTerm . && exit

Initialize dotfiles

Configure the dotfiles alias to ignore untracked files.

dotfiles config --local status.showUntrackedFiles no

Install node

Node is installed using nvm - which is installed via an antigen plugin in ~/.zshrc.

nvm install node

Install Vundle

Click here to read more about Vundle.

git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
vim +PluginInstall +qall

Miscellaneous commands

# Create projects directory for development
mkdir ~/projects

# Install programming font for IDEs and terminal
brew tap homebrew/cask-fonts
brew install --cask font-jetbrains-mono

# Set Vim as default editor for github-cli
gh config set editor vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment