This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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; |