diff options
author | Lars Kappert <lars@webpro.nl> | 2014-08-12 17:12:24 +0200 |
---|---|---|
committer | Mathias Bynens <mathias@qiwi.be> | 2014-08-13 08:24:31 +0200 |
commit | 4a975b011174da08bef524dabc4108928480c216 (patch) | |
tree | 38a18bc5308bd0e2f8195e93ca1e66eb3e145dfd | |
parent | 287f38e2196d8367cf2cb33b6f75860dbf17492a (diff) | |
download | dotfiles-4a975b011174da08bef524dabc4108928480c216.tar.gz dotfiles-4a975b011174da08bef524dabc4108928480c216.tar.bz2 dotfiles-4a975b011174da08bef524dabc4108928480c216.zip |
.osx: Use `sudo` for `systemsetup`
Closes #415.
-rwxr-xr-x | .osx | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -103,10 +103,10 @@ defaults write com.apple.helpviewer DevMode -bool true sudo defaults write /Library/Preferences/com.apple.loginwindow AdminHostInfo HostName # Restart automatically if the computer freezes -systemsetup -setrestartfreeze on +sudo systemsetup -setrestartfreeze on # Never go into computer sleep mode -systemsetup -setcomputersleep Off > /dev/null +sudo systemsetup -setcomputersleep Off > /dev/null # Check for software updates daily, not just once per week defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1 @@ -191,8 +191,8 @@ defaults write NSGlobalDomain AppleLocale -string "en_GB@currency=EUR" defaults write NSGlobalDomain AppleMeasurementUnits -string "Centimeters" defaults write NSGlobalDomain AppleMetricUnits -bool true -# Set the timezone; see `systemsetup -listtimezones` for other values -systemsetup -settimezone "Europe/Brussels" > /dev/null +# Set the timezone; see `sudo systemsetup -listtimezones` for other values +sudo systemsetup -settimezone "Europe/Brussels" > /dev/null # Disable auto-correct defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false |