aboutsummaryrefslogtreecommitdiffstats
path: root/.osx
diff options
context:
space:
mode:
Diffstat (limited to '.osx')
-rwxr-xr-x.osx12
1 files changed, 6 insertions, 6 deletions
diff --git a/.osx b/.osx
index 804a74e..bf28dd9 100755
--- a/.osx
+++ b/.osx
@@ -104,7 +104,7 @@ systemsetup -setcomputersleep Off > /dev/null
defaults write com.apple.SoftwareUpdate ScheduleFrequency -int 1
# Disable Notification Center and remove the menu bar icon
-launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist
+launchctl unload -w /System/Library/LaunchAgents/com.apple.notificationcenterui.plist 2> /dev/null
###############################################################################
# Trackpad, mouse, keyboard, Bluetooth accessories, and input #
@@ -168,7 +168,7 @@ systemsetup -settimezone "Europe/Brussels" > /dev/null
defaults write NSGlobalDomain NSAutomaticSpellingCorrectionEnabled -bool false
# Stop iTunes from responding to the keyboard media keys
-#launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist
+#launchctl unload -w /System/Library/LaunchAgents/com.apple.rcd.plist 2> /dev/null
###############################################################################
# Screen #
@@ -356,7 +356,7 @@ defaults write com.apple.dock showhidden -bool true
find ~/Library/Application\ Support/Dock -name "*.db" -maxdepth 1 -delete
# Add iOS Simulator to Launchpad
-ln -s /Applications/Xcode.app/Contents/Applications/iPhone\ Simulator.app /Applications/iOS\ Simulator.app
+sudo ln -sf /Applications/Xcode.app/Contents/Applications/iPhone\ Simulator.app /Applications/iOS\ Simulator.app
# Add a spacer to the left side of the Dock (where the applications are)
#defaults write com.apple.dock persistent-apps -array-add '{tile-data={}; tile-type="spacer-tile";}'
@@ -475,11 +475,11 @@ defaults write com.apple.spotlight orderedItems -array \
'{"enabled" = 0;"name" = "SPREADSHEETS";}' \
'{"enabled" = 0;"name" = "SOURCE";}'
# Load new settings before rebuilding the index
-killall mds
+killall mds > /dev/null 2>&1
# Make sure indexing is enabled for the main volume
-sudo mdutil -i on /
+sudo mdutil -i on / > /dev/null
# Rebuild the index from scratch
-sudo mdutil -E /
+sudo mdutil -E / > /dev/null
###############################################################################
# Terminal #