<commit_before>class Nodenv < Formula
  homepage "https://github.com/OiNutter/nodenv"
  head "https://github.com/OiNutter/nodenv.git"
  url "https://github.com/OiNutter/nodenv/archive/v0.3.0.tar.gz"
  sha256 "f8486ce3a6bef589ec81ecd3db7e8154e52a126a58a2755a450c4a2300ae053f"

  def install
    inreplace "libexec/nodenv", "/usr/local", HOMEBREW_PREFIX
    prefix.install Dir["*"]
  end

  def caveats; <<-EOS.undent
    To enable shims and autocompletion add to your profile:
      if which nodenv > /dev/null; then eval "$(nodenv init -)"; fi

    To use Homebrew's directories rather than ~/.nodenv add to your profile:<commit_msg>nodenv: Install only bin, libexec, completions<commit_after>class Nodenv < Formula
  homepage "https://github.com/OiNutter/nodenv"
  head "https://github.com/OiNutter/nodenv.git"
  url "https://github.com/OiNutter/nodenv/archive/v0.3.0.tar.gz"
  sha256 "f8486ce3a6bef589ec81ecd3db7e8154e52a126a58a2755a450c4a2300ae053f"
  revision 1

  def install
    inreplace "libexec/nodenv", "/usr/local", HOMEBREW_PREFIX
    prefix.install "bin", "libexec", "completions"
  end

  def caveats; <<-EOS.undent
    To enable shims and autocompletion add to your profile:
      if which nodenv > /dev/null; then eval "$(nodenv init -)"; fi

    To use Homebrew's directories rather than ~/.nodenv add to your profile:
{'fraction_non_alphanumeric': 0.11535580524344569, 'fraction_numerical': 0.06816479400749063, 'mean_word_length': 4.0606060606060606, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 5, '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': '38583', 'n_tokens_mistral': 553, 'n_tokens_neox': 493, 'n_words': 112}