-
-
Save rebelwarrior/ed8cd9f98691ef777999ead7f247d1e2 to your computer and use it in GitHub Desktop.
OSX configurations
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
echo "Expanding the save panel by default" | |
defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true | |
echo "Why is this not default anymore?! Enabling full keyboard access for all controls (e.g. enable Tab in modal dialogs)" | |
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3 | |
echo "I'm in yer computer, hax0ring yr passwords!" | |
echo "Requiring password immediately after sleep or screen saver begins" | |
defaults write com.apple.screensaver askForPassword -int 1 | |
defaults write com.apple.screensaver askForPasswordDelay -int 0 | |
echo "Setting location to ~/Desktop" | |
defaults write com.apple.screencapture location -string "$HOME/Desktop" | |
echo "Setting screenshot format to PNG" | |
defaults write com.apple.screencapture type -string "png" | |
echo "Finder: allow text selection in Quick Look/Preview?" | |
defaults write com.apple.finder QLEnableTextSelection -bool true | |
echo "Avoiding creating stupid .DS_Store files on network volumes" | |
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true | |
echo "Enable snap-to-grid for icons on the desktop and in other icon views?" | |
/usr/libexec/PlistBuddy -c "Set :DesktopViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist | |
/usr/libexec/PlistBuddy -c "Set :FK_StandardViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist | |
/usr/libexec/PlistBuddy -c "Set :StandardViewSettings:IconViewSettings:arrangeBy grid" ~/Library/Preferences/com.apple.finder.plist | |
echo "Use current directory as default search scope in Finder" | |
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf" | |
echo "Show Path bar in Finder" | |
defaults write com.apple.finder ShowPathbar -bool true | |
echo "Show Status bar in Finder" | |
defaults write com.apple.finder ShowStatusBar -bool true | |
echo "Set a shorter Delay until key repeat" | |
defaults write NSGlobalDomain InitialKeyRepeat -int 12 | |
echo "Show the ~/Library folder?" | |
chflags nohidden ~/Library | |
echo "Disable two finger back/forward in Chrome" | |
defaults write com.google.Chrome.plist AppleEnableSwipeNavigateWithScrolls -bool FALSE | |
# Safari | |
# Set Safari’s home page to `about:blank` for faster loading | |
defaults write com.apple.Safari HomePage -string "about:blank" | |
echo "Disabling Safari’s thumbnail cache for History and Top Sites" | |
defaults write com.apple.Safari DebugSnapshotsUpdatePolicy -int 2 | |
echo "Enabling Safari’s debug menu" | |
defaults write com.apple.Safari IncludeInternalDebugMenu -bool true | |
echo "Making Safari’s search banners default to Contains instead of Starts With" | |
defaults write com.apple.Safari FindOnPageMatchesWordStartsOnly -bool false | |
echo "Removing useless icons from Safari’s bookmarks bar" | |
defaults write com.apple.Safari ProxiesInBookmarksBar "()" | |
echo "Enabling the Develop menu and the Web Inspector in Safari" | |
defaults write com.apple.Safari IncludeDevelopMenu -bool true | |
defaults write com.apple.Safari WebKitDeveloperExtrasEnabledPreferenceKey -bool true | |
defaults write com.apple.Safari "com.apple.Safari.ContentPageGroupIdentifier.WebKit2DeveloperExtrasEnabled" -bool true | |
echo "Adding a context menu item for showing the Web Inspector in web views" | |
defaults write NSGlobalDomain WebKitDeveloperExtras -bool true | |
echo "Native scrolling and iTerm2" | |
defaults write com.googlecode.iterm2 AlternateMouseScroll -bool true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment