-
Notifications
You must be signed in to change notification settings - Fork 0
/
macos-defaults.sh
executable file
·32 lines (22 loc) · 1.06 KB
/
macos-defaults.sh
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
#!/bin/sh
# Disable press-and-hold to enable key repeat
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
# Set key repeat rate
defaults write NSGlobalDomain KeyRepeat -int 1
defaults write NSGlobalDomain InitialKeyRepeat -int 10
# Enable quitting Finder with cmd+q
defaults write com.apple.finder QuitMenuItem -bool true
# Disable automatic capitalization
defaults write NSGlobalDomain NSAutomaticCapitalizationEnabled -bool false
# Disable smart dashes
defaults write NSGlobalDomain NSAutomaticDashSubstitutionEnabled -bool false
# Disable automatic period substitution
defaults write NSGlobalDomain NSAutomaticPeriodSubstitutionEnabled -bool false
# Disable smart quotes
defaults write NSGlobalDomain NSAutomaticQuoteSubstitutionEnabled -bool false
# Disable auto-correct
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
# Set menu bar date and clock format
defaults write com.apple.menuextra.clock DateFormat -string "EEE d MMM HH:mm"
# Automatically hide and show the Dock
defaults write com.apple.dock autohide -bool true