Skip to content

Commit

Permalink
.osx: Minor formatting tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
mathiasbynens committed Jun 27, 2012
1 parent 44ab4cf commit 6a42419
Showing 1 changed file with 7 additions and 5 deletions.
12 changes: 7 additions & 5 deletions .osx
Original file line number Original file line Diff line number Diff line change
Expand Up @@ -40,11 +40,8 @@ defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false
# Commented out, as this is known to cause problems when saving files in Adobe Illustrator CS5 :( # Commented out, as this is known to cause problems when saving files in Adobe Illustrator CS5 :(
#echo "0x08000100:0" > ~/.CFUserTextEncoding #echo "0x08000100:0" > ~/.CFUserTextEncoding


# Disable “natural” (Lion-style) scrolling
defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false

############################################################################### ###############################################################################
# Trackpad, keyboard, and input # # Trackpad, mouse, keyboard, and input #
############################################################################### ###############################################################################


# Trackpad: enable tap to click for this user and for the login screen # Trackpad: enable tap to click for this user and for the login screen
Expand All @@ -62,6 +59,9 @@ defaults -currentHost write NSGlobalDomain com.apple.trackpad.enableSecondaryCli
defaults -currentHost write NSGlobalDomain com.apple.trackpad.threeFingerHorizSwipeGesture -int 1 defaults -currentHost write NSGlobalDomain com.apple.trackpad.threeFingerHorizSwipeGesture -int 1
defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerHorizSwipeGesture -int 1 defaults write com.apple.driver.AppleBluetoothMultitouch.trackpad TrackpadThreeFingerHorizSwipeGesture -int 1


# Disable “natural” (Lion-style) scrolling
defaults write NSGlobalDomain com.apple.swipescrolldirection -bool false

# Enable full keyboard access for all controls # Enable full keyboard access for all controls
# (e.g. enable Tab in modal dialogs) # (e.g. enable Tab in modal dialogs)
defaults write NSGlobalDomain AppleKeyboardUIMode -int 3 defaults write NSGlobalDomain AppleKeyboardUIMode -int 3
Expand Down Expand Up @@ -293,5 +293,7 @@ hash tmutil &> /dev/null && sudo tmutil disablelocal
# Kill affected applications # # Kill affected applications #
############################################################################### ###############################################################################


for app in Finder Dock Mail Safari iTunes iCal Address\ Book SystemUIServer; do killall "$app" > /dev/null 2>&1; done for app in Finder Dock Mail Safari iTunes iCal Address\ Book SystemUIServer; do
killall "$app" > /dev/null 2>&1
done
echo "Done. Note that some of these changes require a logout/restart to take effect." echo "Done. Note that some of these changes require a logout/restart to take effect."

0 comments on commit 6a42419

Please sign in to comment.