Commits on Mar 9, 2016
  1. Provide Docker as an example customization

    croaky committed Mar 9, 2016
    Docker isn't in common enough use at thoughtbot to
    make this part of the script yet
    but documenting it can encourage its use.
    thoughtbot#411 (comment)
Commits on Mar 8, 2016
Commits on Feb 22, 2016
  1. Remove dead link

    bikolya committed Feb 22, 2016
    El Capitan and Homebrew problem was fixed by further OS X updates
    Document was removed from Homebrew docs: Homebrew/legacy-homebrew@dd1625a
Commits on Jan 28, 2016
  1. Improve readability of permissions code

    croaky committed Jan 28, 2016
    * Better reveal intent with `HOMEBREW_PREFIX` variable.
    * Do less work by referencing `$USER` instead of `whoami`.
    The $USER environment variable is not guaranteed to exist,
    but $LOGNAME is defined by POSIX
    (Environment Variables, section 8.3 Other Environment Variables).
Commits on Jan 26, 2016
  1. Don't link OpenSSL

    croaky committed Jan 26, 2016
    From @mikemcquaid:
    > On 10.11 the OpenSSL headers are removed but library remains. Given
    > Clang's default paths this means things will use the Homebrew headers
    > but link against the system libraries. At best, it's insecure. At
    > worst, it'll cause random, hard-to-debug runtime failures.
    thoughtbot#401 (comment)
  2. Revert "Clean up old Homebrew formulas after run"

    Dan Croak and Gabe Berke-Williams authored and croaky committed Jan 16, 2016
    This reverts commit ef7408d.
    * `brew cleanup` removes Postgres.
    * Migrating data in Postgres from old to new versions relies on
      the previous version of Postgres to run `pg_upgrade`.
    * Laptop shouldn't lose users' Postgres data.
    * Those who don't mind starting their new Postgres databases
      from scratch can `brew cleanup` in `~/.laptop.local`.
  3. Document how to run `rcup` in customizations

    Dan Croak and Gabe Berke-Williams authored and croaky committed Jan 16, 2016
    * thoughtbot/laptop doesn't explicitly depend on thoughtbot/dotfiles.
    * So, we don't think it needs to be in the script.
    * Show it as another example of customizations for those who might be
      interested in updating their machine and dotfiles in one `sh mac`.
Commits on Jan 17, 2016
  1. Update license year to 2016

    pra85 committed Jan 17, 2016
Commits on Jan 16, 2016
  1. chown -R `whoami`:admin /usr/local if necessary

    Dan Croak and Gabe Berke-Williams authored and croaky committed Jan 16, 2016
    We link to this in the docs:
    We can safely automate this to provide a better experience.
Commits on Jan 11, 2016
  1. Check for dead symlinks, relink valid formulae

    croaky committed Jan 10, 2016
    Use the [`--repair`] flag to check for dead symlinks
    and relink all valid formulae across taps.
  2. Group related lines together by printed headers

    croaky committed Jan 11, 2016
    * "Installing Homebrew packages ..."
    * "Restarting services ..."
    * "Relinking OpenSSL ..."
    * "Configuring Ruby ..."
    * "Running your customizations from ~/.laptop.local ..."
    * "Cleaning up old Homebrew formulas ..."
    * To make that work in the desired way,
      print less noise in the custom functions.
    * We don't need parity as customization in README.
    * Match documentation to sections, move OpenSSL to Unix section.
    * Move libyaml to after OpenSSL, before Ruby.
Commits on Jan 10, 2016
  1. Fix brew_expand_alias for non-standard packages

    AlJohri authored and croaky committed Jun 13, 2015
    For example:
    brew info brew-cask 2>/dev/null | head -1 | awk '{gsub(/:/, ""); print $1}'
    brew info brew-cask 2>/dev/null | head -1 | awk '{gsub(/.*\//, ""); gsub(/:/, ""); print $1}'
    `brew list -1` only has the shorter name listed
    so it will try to re-install packages that are already installed.
  2. Install Parity

    croaky committed Jan 10, 2016
    * The Parity Homebrew [package] installs Heroku Toolbelt, Git, Postgres
      but it seems nice for documentation purposes to
      keep the Homebrew packages installed for the other dependencies.
    * Tap the Homebrew formula first, so it updates with `brew update`.
  3. Clean up old Homebrew formulas after run

    croaky committed Jan 10, 2016
    This can save significant disk space.
    Upon running this, I regularly see close to 1GB of space freed up.
  4. Migrate to built-in Homebrew-Cask

    croaky committed Jan 10, 2016
    > Homebrew-Cask will now be kept up to date together with Homebrew
    > If you haven’t yet,
    > run `brew uninstall --force brew-cask; brew update`
    > to switch to the new system.
    > To start using Homebrew-Cask, you just need Homebrew installed.
Commits on Jan 9, 2016
  1. Match rbenv init line to thoughtbot/dotfiles

    croaky committed Jan 7, 2016
    `append_to_zshrc` checks whether the substring is in
    `~/.zshrc` or `~/.zshrc.local`.
    If it isn't, it appends it.
  2. Updated the link to Tmux

    coisnepe authored and croaky committed Dec 1, 2015
    Was previously broken, now redirects to the current address
Commits on Jan 8, 2016
Commits on Oct 2, 2015
  1. Fix wording regarding directories on OS X

    geoffharcourt committed Oct 2, 2015
    @mike-burns pointed out that OS X does not have folders, it has
  2. Updates for OSX El Capitan

    geoffharcourt committed Oct 2, 2015
    * Update supported versions list
    * Update Debugging section of README
    While updating to El Capitan, some users had problems installing or
    updating Homebrew due to El Capitan's [SIP](
    security feature, which restricts access to `/usr`. Adding a link to
    Homebrew's own El Capitan troubleshooting documentation so that users
    who do have trouble will be able to see Homebrew's recommendations for
Commits on Jul 28, 2015
  1. Link to thoughtbot/dotfiles in README

    s a n d a l z authored and croaky committed Jul 28, 2015
Commits on Jul 27, 2015
  1. Update README to reference Hub

    xuebingli authored and croaky committed Jul 27, 2015
    The script installs `hub` instead of `gh` as of
    commit 9fe038c.
Commits on May 30, 2015
  1. Install Zsh via Homebrew

    croaky committed May 22, 2015
    This has the added advantages of:
    * Updating Zsh by re-running the Laptop script.
    * Some Zsh tab completions will be automatically added to `$fpath`.
Commits on May 28, 2015
  1. Fix rbenv init argument order

    bb authored and croaky committed May 28, 2015
    The no-rehash parameter should go in front of the shell, not behind.
    The previous order was resulting in
    "basename: illegal option -- -"
    errors for me when using rbenv shell.
Commits on Apr 8, 2015
  1. Add code of conduct

    croaky committed Apr 8, 2015
Commits on Mar 7, 2015
  1. Rework thoughtbot section of README

    croaky committed Mar 7, 2015
    * Update logo to use new HTTPS version.
    * Change header from "Credits" to "About thoughtbot".
    * Move "thank you" to contributors section.
    * Make "About thoughtbot" the last thing in the README,
      with the copyrights grouped closer to the LICENSE information.
    * Link to LICENSE.
    * Make the community link more obvious that we have other projects.
    * Finish with a CTA to hire us.
    * Include `utm_source` codes to improve tracking.
Commits on Feb 20, 2015
  1. Default $skip_new_line to 0

    pbrisbin committed Feb 20, 2015
    In Bash, `[ "" -eq 1 ]` causes:
      [: : integer expression expected
    Resolves #377
Commits on Feb 15, 2015
  1. Update copyright to 2015

    croaky committed Feb 15, 2015
  2. Revert `gh` to `hub`

    seanpdoyle authored and croaky committed Dec 18, 2014
    `hub`, like `gh`, is now powered by the Go programming language.
    Since `gh` is a GitHub CLI,
    why not use the CLI created by GitHub themselves?
    Additionally, `hub` handles `$ git clone thoughtbot/laptop`
    out of the box.
    `hub` 2.2.0 is the first stable release using Go:
    It has been bottled in Homebrew:
  3. Add link to wiki from README for customizations

    Richard Moorhead authored and croaky committed Feb 14, 2015
Commits on Feb 3, 2015
  1. Correct typo in README

    reshleman committed Feb 3, 2015
    The sample `.laptop.local` incorrectly referred to
    `gem_install_or_upgrade` instead of `gem_install_or_update`.
Commits on Jan 18, 2015
  1. Fix rbenv idempotence

    croaky committed Jan 12, 2015
    The `if` statement causes
    rbenv to only be installed,
    never upgraded.
    Now that we have `brew_install_or_upgrade`,
    we can eliminate the `if` statement.
Commits on Jan 16, 2015