Skip to content

Commit c873c7c

Browse files
authored
Merge pull request Homebrew#182597 from Homebrew/zsh-syntax-highlighting-all
zsh-syntax-highlighting: make the bottles uniform
2 parents 6baef38 + bc6bdbd commit c873c7c

File tree

1 file changed

+7
-10
lines changed

1 file changed

+7
-10
lines changed

Formula/z/zsh-syntax-highlighting.rb

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,22 @@
11
class ZshSyntaxHighlighting < Formula
22
desc "Fish shell like syntax highlighting for zsh"
33
homepage "https://github.com/zsh-users/zsh-syntax-highlighting"
4-
url "https://github.com/zsh-users/zsh-syntax-highlighting.git",
5-
tag: "0.8.0",
6-
revision: "db085e4661f6aafd24e5acb5b2e17e4dd5dddf3e"
4+
url "https://github.com/zsh-users/zsh-syntax-highlighting/archive/refs/tags/0.8.0.tar.gz"
5+
sha256 "5981c19ebaab027e356fe1ee5284f7a021b89d4405cc53dc84b476c3aee9cc32"
76
license "BSD-3-Clause"
87
head "https://github.com/zsh-users/zsh-syntax-highlighting.git", branch: "master"
98

109
bottle do
11-
sha256 cellar: :any_skip_relocation, arm64_sonoma: "603dabae4003cd3d95ab7f872a7fd9944e67cf0d963ffe42a07c8f3c191211ea"
12-
sha256 cellar: :any_skip_relocation, arm64_ventura: "603dabae4003cd3d95ab7f872a7fd9944e67cf0d963ffe42a07c8f3c191211ea"
13-
sha256 cellar: :any_skip_relocation, arm64_monterey: "603dabae4003cd3d95ab7f872a7fd9944e67cf0d963ffe42a07c8f3c191211ea"
14-
sha256 cellar: :any_skip_relocation, sonoma: "78a5770992ca645e5271e2a2b9aef6d99502ff99bace3a7470020b8dc34fcb4d"
15-
sha256 cellar: :any_skip_relocation, ventura: "78a5770992ca645e5271e2a2b9aef6d99502ff99bace3a7470020b8dc34fcb4d"
16-
sha256 cellar: :any_skip_relocation, monterey: "78a5770992ca645e5271e2a2b9aef6d99502ff99bace3a7470020b8dc34fcb4d"
17-
sha256 cellar: :any_skip_relocation, x86_64_linux: "603dabae4003cd3d95ab7f872a7fd9944e67cf0d963ffe42a07c8f3c191211ea"
10+
rebuild 1
11+
sha256 cellar: :any_skip_relocation, all: "3cfaa693dab68d9a576ad1ad0a018e12b250a057963263733f6fcc9b4c4ce8a6"
1812
end
1913

2014
uses_from_macos "zsh" => [:build, :test]
2115

2216
def install
17+
# Make the bottles uniform (modifying a comment with /usr/local path)
18+
inreplace "highlighters/main/main-highlighter.zsh", "/usr/local/bin", "#{HOMEBREW_PREFIX}/bin"
19+
2320
system "make", "install", "PREFIX=#{prefix}"
2421
end
2522

0 commit comments

Comments
 (0)