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

export HOMEBREW_CASK_OPTS="--appdir=/Applications"
# Check for Homebrew
if hash brew 2>/dev/null
then
  echo "  Homebrew is already installed"
else
  echo "  Installing Homebrew for you."
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/steve/.zprofile
  eval "$(/opt/homebrew/bin/brew shellenv)"
fi

# Install homebrew packages
#brew install grc coreutils spark

for PACKAGE in \
git \
duti \
curl \
bash-completion \
lynx \
pandoc \
redis \
shellcheck \
ssh-copy-id \
uncrustify \
asdf \
fzf \
wget \
watchman; do
  if [ -z "$(brew ls --versions $PACKAGE)" ]
  then
    brew install $PACKAGE
  fi
done


# Install applications
for PACKAGE in \
alfred \
anki \
beyond-compare \
firefox \<commit_msg>Update install.sh<commit_after>#!/bin/bash
#
# Homebrew
#
# This installs some of the common dependencies needed (or at least desired)
# using Homebrew.

export HOMEBREW_CASK_OPTS="--appdir=/Applications"
# Check for Homebrew
if hash brew 2>/dev/null
then
  echo "  Homebrew is already installed"
else
  echo "  Installing Homebrew for you."
  ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"
  echo 'eval "$(/opt/homebrew/bin/brew shellenv)"' >> /Users/steve/.zprofile
  eval "$(/opt/homebrew/bin/brew shellenv)"
fi

# Install homebrew packages
#brew install grc coreutils spark

for PACKAGE in \
git \
duti \
curl \
bash-completion \
lynx \
pandoc \
redis \
shellcheck \
ssh-copy-id \
uncrustify \
asdf \
gh \
jq \
ko \
mage \
fzf \
wget \
watchman; do
  if [ -z "$(brew ls --versions $PACKAGE)" ]
  then
    brew install $PACKAGE
  fi
done


# Install applications
for PACKAGE in \
alfred \
anki \
beyond-compare \
firefox \
{'fraction_non_alphanumeric': 0.11989528795811519, 'fraction_numerical': 0.0010471204188481676, 'mean_word_length': 3.3333333333333335, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 9, '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': '943165', 'n_tokens_mistral': 708, 'n_tokens_neox': 668, 'n_words': 201}