aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMathias Bynens <mathias@qiwi.be>2011-09-20 21:29:53 +0300
committerMathias Bynens <mathias@qiwi.be>2011-09-20 21:29:53 +0300
commitf15069228b795511a746da96af1ad449045a9c8c (patch)
treecef17f75fbe5e7b9001e8ce871cffe3f094045d3
parent45806ef825beeab3afc36d2df92df9261cc34044 (diff)
downloaddotfiles-f15069228b795511a746da96af1ad449045a9c8c.tar.gz
dotfiles-f15069228b795511a746da96af1ad449045a9c8c.tar.bz2
dotfiles-f15069228b795511a746da96af1ad449045a9c8c.zip
Use `NSGlobalDomain` instead of `-g`.
-rwxr-xr-x.osx8
1 files changed, 4 insertions, 4 deletions
diff --git a/.osx b/.osx
index 5e862d6..c701721 100755
--- a/.osx
+++ b/.osx
@@ -8,16 +8,16 @@ defaults write com.apple.dock no-glass -bool true
defaults write com.apple.dock showhidden -bool true
# Disable menu bar transparency
-defaults write -g AppleEnableMenuBarTransparency -bool false
+defaults write NSGlobalDomain AppleEnableMenuBarTransparency -bool false
# Always show scrollbars
defaults write NSGlobalDomain AppleShowScrollBars -string "Always"
# Expand save panel by default
-defaults write -g NSNavPanelExpandedStateForSaveMode -bool true
+defaults write NSGlobalDomain NSNavPanelExpandedStateForSaveMode -bool true
# Expand print panel by default
-defaults write -g PMPrintingExpandedStateForPrint -bool true
+defaults write NSGlobalDomain PMPrintingExpandedStateForPrint -bool true
# Disable the β€œAre you sure you want to open this application?” dialog
defaults write com.apple.LaunchServices LSQuarantine -bool false
@@ -38,7 +38,7 @@ defaults write com.apple.dock show-process-indicators -bool true
defaults write com.apple.dock launchanim -bool false
# Disable press-and-hold for keys in favor of key repeat
-defaults write -g ApplePressAndHoldEnabled -bool false
+defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
# Disable auto-correct
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false