Skip to content

Instantly share code, notes, and snippets.

@bylatt
Last active April 28, 2016 06:51
Show Gist options
  • Select an option

  • Save bylatt/8769318 to your computer and use it in GitHub Desktop.

Select an option

Save bylatt/8769318 to your computer and use it in GitHub Desktop.
Customize OS X

#An cli to optimize OS X to suit my need.

###Dashboard To disable

defaults write com.apple.dashboard mcx-disabled -boolean YES

To enable

defaults write com.apple.dashboard mcx-disabled -boolean NO

###Window animation To disable

defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false

To enable

defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool true

###Always allow key repeating

To disable

defaults write -g ApplePressAndHoldEnabled -bool false

To enable

defaults write -g ApplePressAndHoldEnabled -bool true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment