-
Notifications
You must be signed in to change notification settings - Fork 0
/
.macos
100 lines (73 loc) · 3.22 KB
/
.macos
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
#######################################
# Safari
#######################################
# Enable developer menu
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 -g WebKitDeveloperExtras -bool true
#######################################
# Dock
#######################################
# Speed up autohide animation
defaults write com.apple.dock autohide-delay -float 0 && \
defaults write com.apple.dock autohide-time-modifier -float 0.4 && \
killall Dock
#######################################
# Finder
#######################################
# Show all file extensions
defaults write -g AppleShowAllExtensions -bool true
# Show all hidden files
defaults write com.apple.finder AppleShowAllFiles true
# Show full path in finder title
defaults write com.apple.finder _FXShowPosixPathInTitle -bool true
# Show user library folder
chflags nohidden ~/Library
# Expand save panel by default
defaults write -g NSNavPanelExpandedStateForSaveMode -bool true && \
defaults write -g NSNavPanelExpandedStateForSaveMode2 -bool true
# Show path bar
defaults write com.apple.finder ShowPathbar -bool true
# Show status bar
defaults write com.apple.finder ShowStatusBar -bool true
# Save to disk by default
defaults write -g NSDocumentSaveNewDocumentsToCloud -bool false
# Set current folder as default search location
defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"
# Set default finder location to home folder
defaults write com.apple.finder NewWindowTarget -string "PfLo" && \
defaults write com.apple.finder NewWindowTargetPath -string "file://${HOME}"
#######################################
# Metadata Files
#######################################
# Disable creation of metadata files on network drives
defaults write com.apple.desktopservices DSDontWriteNetworkStores -bool true
# Disable creation of metadata files on USB drives
defaults write com.apple.desktopservices DSDontWriteUSBStores -bool true
#######################################
# Keyboard
#######################################
# Disable auto-correct
defaults write -g NSAutomaticSpellingCorrectionEnabled -bool false
#######################################
# Printer
#######################################
# Expand printer panel by default
defaults write -g PMPrintingExpandedStateForPrint -bool true && \
defaults write -g PMPrintingExpandedStateForPrint2 -bool true
# Quit printer app after print jobs complete
defaults write com.apple.print.PrintingPrefs "Quit When Finished" -bool true
#######################################
# Screenshots
#######################################
# Save screenshots as png
defaults write com.apple.screencapture type -string "png"
# Change screenshot save location
defaults write com.apple.screencapture location ~/Desktop/Screenshots/
#######################################
# Software Updates
#######################################
# Check for software update daily
defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1