-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathset-defaults.sh
More file actions
22 lines (16 loc) · 803 Bytes
/
set-defaults.sh
File metadata and controls
22 lines (16 loc) · 803 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Don't show desktop icons
defaults write com.apple.finder CreateDesktop false
# Use AirDrop over every interface. srsly this should be a default.
defaults write com.apple.NetworkBrowser BrowseAllInterfaces 1
# Always open everything in Finder's list view. This is important.
defaults write com.apple.Finder FXPreferredViewStyle Nlsv
# Show the ~/Library folder.
chflags nohidden ~/Library
# Disable press-and-hold for keys in favor of key repeat.
defaults write -g ApplePressAndHoldEnabled -bool false
# Set a really fast key repeat.
# https://github.com/mathiasbynens/dotfiles/issues/687
defaults write NSGlobalDomain KeyRepeat -int 1
defaults write NSGlobalDomain InitialKeyRepeat -int 10
# Cmd-ctrl drag anywhere in a window to move it
defaults write -g NSWindowShouldDragOnGesture -bool true