<commit_before>#!/usr/bin/env bash

# Install command-line tools using Homebrew.

# Make sure we’re using the latest Homebrew.
brew update

# Upgrade any already-installed formulae.
brew upgrade

# If it isn't already installed
brew reinstall git --with-persistent-https --with-brewed-openssl --with-pcre --with-brewed-curl
brew install hub

# Install GNU core utilities (those that come with OS X are outdated).
# Don’t forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
brew install coreutils
brew install gnu-sed

# Install Bash 4.
# Note: don’t forget to add `/usr/local/bin/bash` to `/etc/shells` before
# running `chsh`.
brew install bash
brew install bash-completion

# Install emacs
brew reinstall emacs --with-x
brew reinstall aspell --with-lang-en

# Install wget with IRI support.
brew reinstall wget --with-iri

# Install curl with sftp support, necessary for git-ftp
brew reinstall curl --with-libssh2 --with-openssl

# Install MAMP stuff
brew reinstall mysql --enable-local-infile
brew tap homebrew/apache
brew reinstall httpd24 --with-homebrew-openssl
brew tap homebrew/php
brew reinstall php56 --with-apache --homebrew-apxs --with-homebrew-openssl --with-homebrew-curl

# Email
brew reinstall mutt --with-confirm-attachment-patch --with-gpgme --with-s-lang --with-trash-patch
brew install getmail
brew install msmtp
brew install gpg-agent

# Install other good shit
brew install ag
brew install ack
brew install cheat
brew install editorconfig
brew install entr
brew install gawk
brew install heroku-toolbelt
brew install htmlcompressor
brew reinstall imagemagick --with-x11 --with-webp
brew install pandoc
brew install pandoc-citeproc
brew install pngquant
brew install pigz
brew reinstall poppler --with-little-cms2
brew install reattach-to-user-namespace
brew install rename
brew install ruby
brew install safe-rm
brew install src
brew install surfraw
brew install tmux
brew install urlview
brew install w3m
brew install youtube-dl
brew install zopfli

# Install Node.js
brew reinstall node --with-openssl --without-icu4c
brew install nvm

# Remove outdated versions from the cellar.
brew cleanup
<commit_msg>brew: install new bash-completion<commit_after>#!/usr/bin/env bash

# Install command-line tools using Homebrew.

# Make sure we’re using the latest Homebrew.
brew update

# Upgrade any already-installed formulae.
brew upgrade

# If it isn't already installed
brew reinstall git --with-persistent-https --with-brewed-openssl --with-pcre --with-brewed-curl
brew install hub

# Install GNU core utilities (those that come with OS X are outdated).
# Don’t forget to add `$(brew --prefix coreutils)/libexec/gnubin` to `$PATH`.
brew install coreutils
brew install gnu-sed

# Install Bash 4.
# Note: don’t forget to add `/usr/local/bin/bash` to `/etc/shells` before
# running `chsh`.
brew install bash
brew tap homebrew/versions
brew install bash-completion2

# Install emacs
brew reinstall emacs --with-x
brew reinstall aspell --with-lang-en

# Install wget with IRI support.
brew reinstall wget --with-iri

# Install curl with sftp support, necessary for git-ftp
brew reinstall curl --with-libssh2 --with-openssl

# Install MAMP stuff
brew reinstall mysql --enable-local-infile
brew tap homebrew/apache
brew reinstall httpd24 --with-homebrew-openssl
brew tap homebrew/php
brew reinstall php56 --with-apache --homebrew-apxs --with-homebrew-openssl --with-homebrew-curl

# Email
brew reinstall mutt --with-confirm-attachment-patch --with-gpgme --with-s-lang --with-trash-patch
brew install getmail
brew install msmtp
brew install gpg-agent

# Install other good shit
brew install ag
brew install ack
brew install cheat
brew install editorconfig
brew install entr
brew install gawk
brew install heroku-toolbelt
brew install htmlcompressor
brew reinstall imagemagick --with-x11 --with-webp
brew install pandoc
brew install pandoc-citeproc
brew install pngquant
brew install pigz
brew reinstall poppler --with-little-cms2
brew install reattach-to-user-namespace
brew install rename
brew install ruby
brew install safe-rm
brew install src
brew install surfraw
brew install tmux
brew install urlview
brew install w3m
brew install youtube-dl
brew install zopfli

# Install Node.js
brew reinstall node --with-openssl --without-icu4c
brew install nvm

# Remove outdated versions from the cellar.
brew cleanup

{'fraction_non_alphanumeric': 0.07761400276370337, 'fraction_numerical': 0.0052970981114693685, 'mean_word_length': 4.226233453670277, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '1602712', 'n_tokens_mistral': 1357, 'n_tokens_neox': 1274, 'n_words': 520}