-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathosx
executable file
·36 lines (25 loc) · 1.18 KB
/
osx
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Taken from https://github.com/mathiasbynens/dotfiles.git
# Expand save panel by default
defaults write -g NSNavPanelExpandedStateForSaveMode -bool true
# Expand print panel by default
defaults write -g PMPrintingExpandedStateForPrint -bool true
# Disable shadow in screenshots
defaults write com.apple.screencapture disable-shadow -bool true
# Disable window animations
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
# Disable disk image verification
defaults write com.apple.frameworks.diskimages skip-verify -bool true
defaults write com.apple.frameworks.diskimages skip-verify-locked -bool true
defaults write com.apple.frameworks.diskimages skip-verify-remote -bool true
# Avoid creating .DS_Store files on network volumes
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
# Disable Resume system-wide
defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false
# Reset Launchpad
rm ~/Library/Application\ Support/Dock/*.db
# Show the ~/Library folder
chflags nohidden ~/Library
# Disable local Time Machine backups
sudo tmutil disablelocal
# Kill affected applications
for app in Safari Finder Dock Mail; do killall "$app"; done