<commit_before>require 'formula'

class Nvm < Formula
  homepage 'https://github.com/creationix/nvm'
  head 'https://github.com/creationix/nvm.git'
  url 'https://github.com/creationix/nvm/archive/v0.2.0.tar.gz'
  sha1 'e0c5b98764194951c984c2b4d325a9fd7cd2cdf2'

  def install
    prefix.install 'nvm.sh'
  end

  def caveats;
    <<-EOS.undent
      Add the following to $HOME/.bashrc, $HOME/.zshrc, or your shell's equivalent configuration file:
<commit_msg>nvm: install bash completion<commit_after>require 'formula'

class Nvm < Formula
  homepage 'https://github.com/creationix/nvm'
  head 'https://github.com/creationix/nvm.git'
  url 'https://github.com/creationix/nvm/archive/v0.2.0.tar.gz'
  sha1 'e0c5b98764194951c984c2b4d325a9fd7cd2cdf2'

  def install
    prefix.install 'nvm.sh'
    bash_completion.install 'bash_completion' => 'nvm'
  end

  def caveats;
    <<-EOS.undent
      Add the following to $HOME/.bashrc, $HOME/.zshrc, or your shell's equivalent configuration file:

{'fraction_non_alphanumeric': 0.12525252525252525, 'fraction_numerical': 0.05858585858585859, 'mean_word_length': 3.8817733990147785, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 4, 'https://': 6, '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': '6908367', 'n_tokens_mistral': 418, 'n_tokens_neox': 376, 'n_words': 72}