Find file
Fetching contributors…
Cannot retrieve contributors at this time
executable file 31 lines (23 sloc) 980 Bytes
if [ ! `defaults read AppleShowAllFiles` == "0" ]; then
echo "Writing default: Don't show all files in finder..."
defaults write AppleShowAllFiles 0
killall Finder
if [ ! `defaults read disable-shadow` == "1" ]; then
echo "Writing default: Disable shadows on screenshots of windows..."
defaults write disable-shadow 1
killall SystemUIServer
if [ ! `defaults read mcx-disabled` == "1" ]; then
echo "Writing default: Hide the Dashboard and related widgets..."
defaults write mcx-disabled 1
killall Dock
echo "Writing default: Show developer menu in Safari..."
defaults write IncludeDebugMenu 1
echo "Writing default: Don't remember open windows in Safari..."
defaults write NSQuitAlwaysKeepsWindows 0
killall Safari
# Make Library visible
/Developer/Tools/SetFile -a v ~/Library/