-
-
Save kernkraft235/24eccc3329a53c87b4d21925584e077a to your computer and use it in GitHub Desktop.
Clean Install – Sonoma (edited from an El Capitan)
This file contains hidden or 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
| #!/usr/bin/env zsh | |
| ### OS X Preferences | |
| # Enable character repeat on keydown | |
| defaults write -g ApplePressAndHoldEnabled -bool false | |
| # Set a shorter Delay until key repeat | |
| defaults write NSGlobalDomain InitialKeyRepeat -int 12 | |
| # Set a blazingly fast keyboard repeat rate | |
| defaults write NSGlobalDomain KeyRepeat -int 0 | |
| # Disable window animations ("new window" scale effect) | |
| defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false | |
| # Turn on dashboard-as-space | |
| defaults write com.apple.dashboard enabled-state 2 | |
| # Use plain text mode for new TextEdit documents | |
| defaults write com.apple.TextEdit RichText -int 0 | |
| # Expand save panel by default | |
| defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true | |
| # Disable ext change warning | |
| defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false | |
| # Check for software updates daily, not just once per week | |
| defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1 | |
| defaults write com.apple.finder ShowPathbar -bool true | |
| defaults write com.apple.finder ShowStatusBar -bool true | |
| ## Avoid creating .DS_Store files on network volumes | |
| defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true | |
| ## Enable the Develop menu and the Web Inspector in Safari | |
| defaults write com.apple.Safari IncludeInternalDebugMenu -bool true && \ | |
| 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 && \ | |
| defaults write NSGlobalDomain WebKitDeveloperExtras -bool true | |
| # Show the ~/Library folder | |
| chflags nohidden ~/Library | |
| # Show absolute path in finder's title bar. | |
| defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES | |
| # Auto-play videos when opened with QuickTime Player | |
| defaults write com.apple.QuickTimePlayerX MGPlayMovieOnOpen 1 | |
| # Enable AirDrop over Ethernet and on unsupported Macs | |
| defaults write com.apple.NetworkBrowser BrowseAllInterfaces -bool true | |
| ## Homebrew | |
| /bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" | |
| brew install fish | |
| brew tap caskroom/fonts | |
| brew tap homebrew/cask-versions | |
| ## flush cache | |
| # sudo discoveryutil mdnsflushcache && scutil --dns |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment