Skip to content
/ config Public
forked from mdo/config

Personal checklist for setting up a new Mac's dev environment.

Notifications You must be signed in to change notification settings

perke/config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

Config

Config is a basic checklist I follow to set up a new Mac's development environment. It gets me up to speed with Git, Ruby, GitHub, and more so I can more quickly get back to coding.

Contents

  • .bash-profile - Customizes the Terminal.app prompt and echos the currently checked out Git branch.
  • .gitconfig - Global Git configuration to specify my name and email, shortcuts, colors, and more.
  • .gitignore - The ignore file from twbs/bootstrap that I use everywhere.
  • Preferences.sublime-settings - My Sublime Text 2 user preferences.

Checklist

1. Prep OS X

  • Install latest Xcode
  • Install latest Xcode command line tools

2. Download dependencies

3. Secure Git(Hub) access

4. Prep Terminal.app

  • Load .bash_profile (aliases, prompts, etc)
  • Load .gitconfig contents into the global ~/.gitconfig
  • Load color scheme

5. Tweak Sublime Text 2 just right

  • Install Package Control:
    • Open Sublime Text 2 and hit `Ctrl-``, then enter the following:
import urllib2,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')
  • Install and load packages (Cmd-Shift-P):
  • Load custom user config with parameters (tab size, font size, etc)

Use it yourself

Fork this repo, or just copy-paste things you need, and make it your own. Please be sure to change your .gitconfig name and email address though!

Works on my machine

Yup, it does. Hopefully it does on yours as well, but please don't hate me if it doesn't.

<3

About

Personal checklist for setting up a new Mac's dev environment.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Shell 100.0%