Skip to content

Instantly share code, notes, and snippets.

@kaplas
Last active August 29, 2015 14:14
Show Gist options
  • Save kaplas/1f1bee6a6c024e6a61c5 to your computer and use it in GitHub Desktop.
Save kaplas/1f1bee6a6c024e6a61c5 to your computer and use it in GitHub Desktop.
Setting up a new Mac

Setting up a new Mac

Folders

  • mkdir ~/Projects

App installs

  • Everything what I own from Mac App Store
  • Latest XCode from Mac App Store

Development

Web browsers

Code editors

Entertainment

Communications

Utilities

OS X settings

TODO! Find out the actual command line commands instead of these Boxen magic-one-liners.

class people::cido::osx {

  # Global
  # ======================================================

  # Disable press-and-hold for accented character entry
  include osx::global::disable_key_press_and_hold

  # Enables the keyboard for navigating controls in dialogs
  include osx::global::enable_keyboard_control_access

  # Expand the print dialog by default
  include osx::global::expand_print_dialog

  # Expand the save dialog by default
  include osx::global::expand_save_dialog

  # Disable remote control infrared receiver
  include osx::global::disable_remote_control_ir_receiver

  # Disables spelling autocorrection
  include osx::global::disable_autocorrect

  # Dock
  # ======================================================

  # Hide dock
  include osx::dock::autohide

  # Clear pinned dock icons
  include osx::dock::clear_dock

  # Finder
  # ======================================================

  # Unsets the hidden flag on ~/Library
  include osx::finder::unhide_library

  # Show hidden files
  include osx::finder::show_hidden_files

  boxen::osx_defaults { 'Show hidden files in Open/Save dialogs':
    user   => $::boxen_user,
    key    => 'AppleShowAllFiles',
    domain => 'NSGlobalDomain',
    value  => true;
  }

  # Mouse and keyboard
  # ======================================================

  # Set a more natural cursor size
  include osx::universal_access::cursor_size

  # Other
  # ======================================================

  # Disable the downloaded app quarantine
  include osx::disable_app_quarantine

  # Disable creation of .DS_Store files on network shares
  include osx::no_network_dsstores

}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment