Last active
August 27, 2015 21:33
-
-
Save miles/1e0901cedc71faa616e7 to your computer and use it in GitHub Desktop.
Setup New OSX Machine
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# Run on each machine I have access to as a new user. Don't like Apple's nanny attitude on how my | |
# computer should behave. Do it my way OSX! You're here to serve me, not the other way around. | |
# | |
# Thank you Ryan Davis for the inspiration for this https://gist.github.com/zenspider/7004934 | |
# | |
# Compatible with OSX 10.10. See http://www.defaults-write.com/tag/10-10/ | |
# Miles Forrest <[email protected]> | |
# Changing the Dock | |
# disable hiding delay | |
defaults write com.apple.dock autohide-delay -float 0 | |
# revert: defaults delete com.apple.dock autohide-delay; killall Dock | |
# display only active applications | |
defaults write com.apple.dock static-only -bool TRUE | |
# revert: defaults write com.apple.dock static-only -bool FALSE; killall Dock | |
killall Dock |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment