-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path60-settings.sh
More file actions
executable file
·55 lines (42 loc) · 1.94 KB
/
Copy path60-settings.sh
File metadata and controls
executable file
·55 lines (42 loc) · 1.94 KB
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
#!/bin/sh
### Dock ###
# waiting for a stable release of dockutil, until it drops you'll need to
# manually install with `brew install --HEAD dockutil`
# see:
# - `brew info dockutil`
# - `https://github.com/kcrawford/dockutil`
# not doing this automatically until there is stable release
# brew install dockutil
dockutil --no-restart --remove com.apple.AddressBook
dockutil --no-restart --remove com.apple.AppStore
dockutil --no-restart --remove com.apple.FaceTime
dockutil --no-restart --remove com.apple.Maps
dockutil --no-restart --remove com.apple.Music
dockutil --no-restart --remove com.apple.Photos
dockutil --no-restart --remove com.apple.TV
dockutil --no-restart --remove com.apple.iWork.Keynote
dockutil --no-restart --remove com.apple.iWork.Numbers
dockutil --no-restart --remove com.apple.iWork.Pages
dockutil --no-restart --remove com.apple.launchpad.launcher
dockutil --no-restart --remove com.apple.reminders
osascript -e 'tell app "Dock" to quit' # restart once, not after each removal
# brew uninstall dockutil # don't really need this once we're done
### Finder ###
osascript -e 'tell app "Finder" to quit'
# show file extensions, and don't whine when I change them
defaults write NSGlobalDomain AppleShowAllExtensions -bool true
defaults write com.apple.finder FXEnableExtensionChangeWarning -bool false
# don't use Tabs in Finder
defaults write com.apple.finder FinderSpawnTab -bool false
# show drives on Desktop
defaults write com.apple.finder ShowHardDrivesOnDesktop -bool true
defaults write com.apple.finder ShowExternalHardDrivesOnDesktop -bool true
# New Finder windows show home dir
defaults write com.apple.finder NewWindowTarget PfHm
defaults write com.apple.finder NewWindowTargetPath "file://${HOME}/"
# Finder search scope: Current Folder
defaults write com.apple.finder FXDefaultSearchScope SCcf
open -a Finder
### iCal ###
osascript -e 'tell app "Calendar" to quit'
defaults write com.apple.iCal "TimeZone support enabled" -bool true