Merge pull request #62 from richo/patch-1

.osx: Disable the “disable reopen windows when logging back in” option by default now that OS X 10.7.4 fixes it
This commit is contained in:
Mathias Bynens
2012-05-16 08:00:01 -07:00
Vendored
+4 -2
View File
@@ -33,8 +33,10 @@ defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false
# Disable the “reopen windows when logging back in” option
# This works, although the checkbox will still appear to be checked,
# and the command needs to be entered again for every restart.
defaults write com.apple.loginwindow TALLogoutSavesState -bool false
defaults write com.apple.loginwindow LoginwindowLaunchesRelaunchApps -bool false
#
# Only relevant for <10.7.4
# defaults write com.apple.loginwindow TALLogoutSavesState -bool false
# defaults write com.apple.loginwindow LoginwindowLaunchesRelaunchApps -bool false
# Fix for the ancient UTF-8 bug in QuickLook (http://mths.be/bbo)
# Commented out, as this is known to cause problems when saving files in Adobe Illustrator CS5 :(