Skip to content

Instantly share code, notes, and snippets.

@jasonmoo
Created May 21, 2019 16:06
Show Gist options
  • Save jasonmoo/e866d82d1dbfbc735298ce2e18864410 to your computer and use it in GitHub Desktop.
Save jasonmoo/e866d82d1dbfbc735298ce2e18864410 to your computer and use it in GitHub Desktop.
#!/bin/bash -x
# 1. Set a blazingly fast keyboard repeat rate.
defaults write NSGlobalDomain ApplePressAndHoldEnabled -bool false
defaults write NSGlobalDomain KeyRepeat -int 1
# 2. Disable opening and closing window animations.
defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
# 3. Disable the animations for opening Quick Look windows.
defaults write -g QLPanelAnimationDuration -float 0
# 4. Increase window resize speed for Cocoa applications.
defaults write NSGlobalDomain NSWindowResizeTime -float 0.001
# 5. Disable window animations and Get Info animations in the Finder.
defaults write com.apple.finder DisableAllAnimations -bool true
# 6. Don’t animate opening applications from the Dock.
defaults write com.apple.dock launchanim -bool false
# 7. Speed up Mission Control animations.
defaults write com.apple.dock expose-animation-duration -float 0.1
# 8. Remove the Dock auto-hide delay.
defaults write com.apple.Dock autohide-delay -float 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment