File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change 1
1
class ZshSyntaxHighlighting < Formula
2
2
desc "Fish shell like syntax highlighting for zsh"
3
3
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"
7
6
license "BSD-3-Clause"
8
7
head "https://github.com/zsh-users/zsh-syntax-highlighting.git" , branch : "master"
9
8
@@ -20,6 +19,9 @@ class ZshSyntaxHighlighting < Formula
20
19
uses_from_macos "zsh" => [ :build , :test ]
21
20
22
21
def install
22
+ # Make the bottles uniform (modifying a comment with /usr/local path)
23
+ inreplace "highlighters/main/main-highlighter.zsh" , "/usr/local/bin" , "#{ HOMEBREW_PREFIX } /bin"
24
+
23
25
system "make" , "install" , "PREFIX=#{ prefix } "
24
26
end
25
27
You can’t perform that action at this time.
0 commit comments