Skip to content

Instantly share code, notes, and snippets.

@whaaaley
Last active June 15, 2020 15:51
Show Gist options
  • Save whaaaley/9b7a815116f831dd046517a206ce4c33 to your computer and use it in GitHub Desktop.
Save whaaaley/9b7a815116f831dd046517a206ce4c33 to your computer and use it in GitHub Desktop.
#!/bin/sh
echo 'Show hidden files in finder'
defaults write com.apple.finder AppleShowAllFiles yes; killall Finder
echo 'Lock the size of the dock'
defaults write com.apple.dock size-immutable -bool yes; killall Dock
echo 'Delete all .DS_Store files'
sudo find / -name ".DS_Store" -depth -exec rm {} \;
echo 'Remove last login message from the terminal'
touch .hushlogin
echo 'Repeating keys when held'
defaults write -g ApplePressAndHoldEnabled -bool no
echo 'Re-enable subpixel rendering in macOS Mojave'
defaults write -g CGFontRenderingFontSmoothingDisabled -bool no
echo 'Disable mouse acceleration'
defaults write .GlobalPreferences com.apple.mouse.scaling -1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment