-
-
Save krejac/3342e6a8849db8fe6290 to your computer and use it in GitHub Desktop.
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
# .osx | |
# Highly opinionated OS X specific configuration | |
############################################################################### | |
# Installing apps # | |
############################################################################### | |
# Install Xcode cli-tools | |
xcode-select --install | |
# Install Brew (http://brew.sh) | |
ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" | |
# Install Caskroom (http://caskroom.io) | |
brew install caskroom/cask/brew-cask | |
# Install REAL python (including pip etc.) | |
brew install python | |
# Install missing unix components | |
brew install ssh-copy-id | |
brew install bash-completion | |
# Install apps | |
brew cask install hazel | |
brew cask install 1password | |
brew cask install textwrangler | |
brew cask install dropbox | |
brew cask install google-chrome | |
brew cask install transmit | |
brew cask install little-snitch | |
############################################################################### | |
# Global settings / UI # | |
############################################################################### | |
# Tap-to-click (logout and back in to activate): | |
defaults -currentHost write -globalDomain com.apple.mouse.tapBehavior -int 1 | |
# Set highlight color to green | |
defaults write NSGlobalDomain AppleHighlightColor -string "0.764700 0.976500 0.568600" | |
# Hot corners | |
# Possible values: | |
# 0: no-op | |
# 2: Mission Control | |
# 3: Show application windows | |
# 4: Desktop | |
# 5: Start screen saver | |
# 6: Disable screen saver | |
# 7: Dashboard | |
# 10: Put display to sleep | |
# 11: Launchpad | |
# 12: Notification Center | |
# Top left screen corner → Put display to sleep | |
defaults write com.apple.dock wvous-tl-corner -int 10 | |
defaults write com.apple.dock wvous-tl-modifier -int 0 | |
# Top right screen corner → Desktop | |
defaults write com.apple.dock wvous-tr-corner -int 4 | |
defaults write com.apple.dock wvous-tr-modifier -int 0 | |
# Bottom left screen corner → Show application windows | |
defaults write com.apple.dock wvous-bl-corner -int 3 | |
defaults write com.apple.dock wvous-bl-modifier -int 0 | |
# Bottom right screen corner → Mission Control | |
defaults write com.apple.dock wvous-br-corner -int 2 | |
defaults write com.apple.dock wvous-br-modifier -int 0 | |
############################################################################### | |
# Safari & WebKit # | |
############################################################################### | |
# Privacy: don’t send search queries to Apple | |
defaults write com.apple.Safari UniversalSearchEnabled -bool false | |
defaults write com.apple.Safari SuppressSearchSuggestions -bool true | |
# Show the full URL in the address bar (note: this still hides the scheme) | |
defaults write com.apple.Safari ShowFullURLInSmartSearchField -bool true | |
# Prevent Safari from opening ‘safe’ files automatically after downloading | |
defaults write com.apple.Safari AutoOpenSafeDownloads -bool false | |
# Hide Safari’s bookmarks bar by default | |
defaults write com.apple.Safari ShowFavoritesBar -bool false | |
# Hide Safari’s sidebar in Top Sites | |
defaults write com.apple.Safari ShowSidebarInTopSites -bool false |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment