<commit_before>#!/bin/bash
#
# Homebrew
#
# This installs some of the common dependencies needed (or at least desired)
# using Homebrew.

if [[ "$(uname -s)" != "Darwin" ]]; then
  pprint error "Unsupported OS"
  exit 0
fi

# Check for Homebrew
if test ! $(which brew); then
  pprint step "Installing Homebrew for you"
  ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)" > /tmp/homebrew-install.dot.log 2>&1

  if [[ $? != 0 ]]; then
    pprint error "Failed to install Homebrew"
    exit 1
  else
    pprint ok "Homebrew is ready to brew. Choo, choo!"
  fi
fi

# Install homebrew packages
brew install coreutils grc > /tmp/homebrew-dependencies.dot.log 2>&1
if [[ $? != 0 ]]; then
  pprint error "Failed to install dependencies"
  exit 1
fi

pprint ok "Installed dotfiles dependencies"
exit 0<commit_msg>Bump homebrew install and make it unatended<commit_after>#!/bin/bash
#
# Homebrew
#
# This installs some of the common dependencies needed (or at least desired)
# using Homebrew.

if [[ "$(uname -s)" != "Darwin" ]]; then
  pprint error "Unsupported OS"
  exit 0
fi

# Check for Homebrew
if test ! $(which brew); then
  pprint step "Installing Homebrew for you"
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" < /dev/null > /tmp/homebrew-install.dot.log 2>&1

  if [[ $? != 0 ]]; then
    pprint error "Failed to install Homebrew"
    exit 1
  else
    pprint ok "Homebrew is ready to brew. Choo, choo!"
  fi
fi

# Install homebrew packages
brew install coreutils grc > /tmp/homebrew-dependencies.dot.log 2>&1
if [[ $? != 0 ]]; then
  pprint error "Failed to install dependencies"
  exit 1
fi

pprint ok "Installed dotfiles dependencies"
exit 0
{'fraction_non_alphanumeric': 0.12048894062863795, 'fraction_numerical': 0.011641443538998836, 'mean_word_length': 3.6334231805929917, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 11, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '4076694', 'n_tokens_mistral': 603, 'n_tokens_neox': 580, 'n_words': 206}