Skip to content

Instantly share code, notes, and snippets.

View robotsorcerer's full-sized avatar
🙂

Lekan robotsorcerer

🙂
View GitHub Profile
@robotsorcerer
robotsorcerer / mac_dev_setup.sh
Created August 15, 2018 03:45 — forked from captainsafia/mac_dev_setup.sh
A set of commands I use to configure my Mac for development
# Create a global gitignore for macOS
curl https://raw.githubusercontent.com/github/gitignore/master/Global/macOS.gitignore >> ~/.gitignore_global
git config --global core.excludesfile ~/.gitignore_global
# Send screenshots to a directory that isn't the desktop
mkdir -p ~/Screenshots
defaults write com.apple.screencapture location ~/Screenshots
# Show all hidden files (like dotfiles)
defaults write com.apple.finder AppleShowAllFiles YES; killall Finder;