Skip to content

Instantly share code, notes, and snippets.

@marshallmick007
Created June 2, 2012 16:38
Show Gist options
  • Star 2 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save marshallmick007/2859096 to your computer and use it in GitHub Desktop.
Save marshallmick007/2859096 to your computer and use it in GitHub Desktop.
OSX Defaults
#!/bin/bash
# from https://github.com/mathiasbynens/dotfiles/blob/master/.osx
# Show full path in Finder title bar
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
# Expand save panel by default
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool YES
# Show the ~/Library folder
chflags nohidden ~/Library
# Disable opening and closing window animations
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
# Set a blazingly fast keyboard repeat rate
defaults write NSGlobalDomain KeyRepeat -int 0
# Save screenshots to the desktop
defaults write com.apple.screencapture location -string "$HOME/Desktop"
# Save screenshots in PNG format (other options: BMP, GIF, JPG, PDF, TIFF)
defaults write com.apple.screencapture type -string "png"
# Show all filename extensions in Finder
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
# Show status bar in Finder
defaults write com.apple.finder ShowStatusBar -bool true
# Disable the warning when changing a file extension
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
# Remove the auto-hiding Dock delay
defaults write com.apple.Dock autohide-delay -float 0
# Disable Resume system-wide
defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false
# Enable full keyboard access for all controls (e.g. enable Tab in modal dialogs)
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
killall Finder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment