<commit_before>class OhMyPosh < Formula
  desc "Prompt theme engine for any shell"
  homepage "https://ohmyposh.dev"
  url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v8.13.1.tar.gz"
  sha256 "5108a37f2bc079bb5b6ee6afa18daf1b80c8b7bd4ddf34a863ac66fca7030416"
  license "MIT"
  head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "a4dc4dcea8608e86cab74f78dfe31f0a157dba18828505aae9dd66e9f2b78164"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "59a022cc350570409fb0fcaadf11417e3c8f2340cb2dd7f54fc4c12d01a638de"
    sha256 cellar: :any_skip_relocation, monterey:       "82a87134427bb54a8d9190a28c3f2849401c7948fa88b7faa88e8c9c2a17105f"
    sha256 cellar: :any_skip_relocation, big_sur:        "2a4c1549b248e9c69c021ea29f9a28c5d32aae07aeec54086fb4bc741868d198"
    sha256 cellar: :any_skip_relocation, catalina:       "5f3c28d345b685ac82cc4935c1fe4002e7d1565472934bb1fc8e736980a4bbcc"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "d1df6d217a0ab41945ebced9448e9de09799b6fda2de72d4969f6601d1658650"
  end

  depends_on "go" => :build

  def install
    ldflags = %W[
      -s -w
      -X main.Version=#{version}
    ]
    cd "src" do
      system "go", "build", *std_go_args(ldflags: ldflags)
    end

    prefix.install "themes"
    pkgshare.install_symlink prefix/"themes"
  end

  test do
    assert_match "oh-my-posh", shell_output("#{bin}/oh-my-posh --init --shell bash")
  end
end
<commit_msg>oh-my-posh: update 8.13.1 bottle.<commit_after>class OhMyPosh < Formula
  desc "Prompt theme engine for any shell"
  homepage "https://ohmyposh.dev"
  url "https://github.com/JanDeDobbeleer/oh-my-posh/archive/v8.13.1.tar.gz"
  sha256 "5108a37f2bc079bb5b6ee6afa18daf1b80c8b7bd4ddf34a863ac66fca7030416"
  license "MIT"
  head "https://github.com/JanDeDobbeleer/oh-my-posh.git", branch: "main"

  bottle do
    sha256 cellar: :any_skip_relocation, arm64_monterey: "2a4308fb33316a88e5d9926b1c412e63a3a8e925a13ef7217070b6e2efa34474"
    sha256 cellar: :any_skip_relocation, arm64_big_sur:  "316347bc05854b4e8e9f4bbcfc8d0b646533138d008f92c708f81d4401f42d88"
    sha256 cellar: :any_skip_relocation, monterey:       "e05dd6830e91e99ce9497a47a522f29e3599a6ed19ecf20f1940a47c3d601e80"
    sha256 cellar: :any_skip_relocation, big_sur:        "13e3b620c72d524a09fc40db70eed3d4ab736c5320790dfa3d2090b4037b2b09"
    sha256 cellar: :any_skip_relocation, catalina:       "b69554516ce399fbb5278742b0cd6fc8ca25420bbe69bbfabcc78eaf359fd878"
    sha256 cellar: :any_skip_relocation, x86_64_linux:   "475030baac3f68cbf1b41c1195ff8a79286f83f2eeaf27241d9e355092f37e40"
  end

  depends_on "go" => :build

  def install
    ldflags = %W[
      -s -w
      -X main.Version=#{version}
    ]
    cd "src" do
      system "go", "build", *std_go_args(ldflags: ldflags)
    end

    prefix.install "themes"
    pkgshare.install_symlink prefix/"themes"
  end

  test do
    assert_match "oh-my-posh", shell_output("#{bin}/oh-my-posh --init --shell bash")
  end
end

{'fraction_non_alphanumeric': 0.09239842726081259, 'fraction_numerical': 0.20543905635648754, 'mean_word_length': 4.837476099426386, 'pattern_counts': {'":': 0, '<': 5, '<?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': '1265623', 'n_tokens_mistral': 1701, 'n_tokens_neox': 1366, 'n_words': 183}