Skip to content

Comment on OSX For Hackers

Comments

This seems to be a copy of Mathias Bynen's Dotfiles (https://github.com/mathiasbynens/dotfiles/blob/master/.osx, 'sensible hacker defaults for OS X'), with a few minor changes. Specifically, comments explainung each line have been changed to echo statements, and the following lines have been inserted:

  echo "Use current directory as default search scope in Finder"
  defaults write com.apple.finder FXDefaultSearchScope -string "SCcf"

  echo "Show Path bar in Finder"
  defaults write com.apple.finder ShowPathbar -bool true

  echo "Show Status bar in Finder"
  defaults write com.apple.finder ShowStatusBar -bool true

  echo "Set a shorter Delay until key repeat"
  defaults write NSGlobalDomain InitialKeyRepeat -int 12

Also, some commands have been commented out:
  # Automatically hide and show the Dock
  # defaults write com.apple.dock autohide -bool true

  # Show remaining battery time; hide percentage
  # defaults write com.apple.menuextra.battery ShowPercent -string "NO"
  # defaults write com.apple.menuextra.battery ShowTime -string "YES"

  # echo "Always show scrollbars"
  # defaults write NSGlobalDomain AppleShowScrollBars -string "Auto"

  # Disable window animations and Get Info animations in Finder
  # defaults write com.apple.finder DisableAllAnimations -bool true

  # Don’t animate opening applications from the Dock
  # defaults write com.apple.dock launchanim -bool false

  # Disable opening and closing window animations
  # defaults write NSGlobalDomain NSAutomaticWindowAnimationsEnabled -bool false

  # Empty Trash securely by default
  # defaults write com.apple.finder EmptyTrashSecurely -bool true

  # Remove useless icons from Safari’s bookmarks bar
  # defaults write com.apple.Safari ProxiesInBookmarksBar "()"

  # Disable send and reply animations in Mail.app
  # defaults write com.apple.Mail DisableReplyAnimations -bool true
  # defaults write com.apple.Mail DisableSendAnimations -bool true

  # Disable Resume system-wide
  # defaults write NSGlobalDomain NSQuitAlwaysKeepsWindows -bool false

  #Fix for the ancient UTF-8 bug in QuickLook (http://mths.be/bbo)
  # Commented out, as this is known to cause problems when saving files in Adobe Illustrator CS5 :(
  #echo "0x08000100:0" > ~/.CFUserTextEncoding

# This is script with usefull tips taken from:

# https://github.com/mathiasbynens/dotfiles/blob/master/.osx

Yeah… But still it’s a bit confusing. It’s almost an exact copy, and no real functionality has been added (except for the four commands jamessb mentioned). I feel like I’m missing something — this is something you would expect to see in a fork, rather than a separate gist.

Oh well, glad to see my dotfiles are of use!

I reckon the original author didn't expect it to get any traffic, and just made it for themselves. Thanks for collating all these anyway!

Yeah, I don't understand why this gist has been created. Just learn from Mathias's dotfiles repo which also has other useful settings.

I don't understand why this gist has been created

Alas, so someone else can take credit for it with plausible deniability.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.