Permalink
Browse files

Use `NSGlobalDomain` instead of `-g`.

  • Loading branch information...
1 parent 45806ef commit f15069228b795511a746da96af1ad449045a9c8c @mathiasbynens committed Sep 20, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 .osx
View
8 .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

0 comments on commit f150692

Please sign in to comment.