Skip to content

Instantly share code, notes, and snippets.

@mauricios
Created September 13, 2016 15:31
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save mauricios/111284f34a45f37fa8cc4c1cda9aa2c9 to your computer and use it in GitHub Desktop.
Save mauricios/111284f34a45f37fa8cc4c1cda9aa2c9 to your computer and use it in GitHub Desktop.
macOS tweaks
#!/bin/bash
# Tweaks for macOS
# Disable ruber band bouncing scrolling
sudo defaults write -g NSScrollViewRubberbanding -int 0
# Disable all animations
sudo defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false
# Enable press and hold key to repeat
sudo defaults write -g ApplePressAndHoldEnabled -bool false
# Prevent .DS_store file creation over Network connections per user
defaults write com.apple.desktopservices DSDontWriteNetworkStores true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment