File tree Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Expand file tree Collapse file tree 3 files changed +41
-0
lines changed Original file line number Diff line number Diff line change
1
+ builds :
2
+ - env :
3
+ - CGO_ENABLED=0
4
+ id : " irir"
5
+ binary : irir
6
+ goos :
7
+ - linux
8
+ - darwin
9
+ ldflags : -s -w -X main.version={{.Version}} -X "main.installFrom=Binary"
10
+ changelog :
11
+ use : github
12
+ filters :
13
+ exclude :
14
+ - Merge pull request
15
+ - Merge remote-tracking branch
16
+ - Merge branch
17
+ brews :
18
+ - tap :
19
+ owner : bayashi
20
+ name : homebrew-tap
21
+ token : " {{ .Env.HOMEBREW_TAP_GITHUB_TOKEN }}"
22
+ folder : Formula
23
+ homepage : https://github.com/bayashi/highlightrepo
24
+ description : highlightrepo provides a filter to highlight repository directory in a path string.
25
+ test : |
26
+ system "#{bin}/highlightrepo", '--version'
Original file line number Diff line number Diff line change @@ -30,6 +30,21 @@ PS1="[\u@\h \$(pwd | highlightrepo -y)]\n\$ "
30
30
31
31
## Installation
32
32
33
+ ### Mac
34
+
35
+ ``` sh
36
+ brew tap bayashi/tap
37
+ brew install bayashi/tap/highlightrepo
38
+ ```
39
+
40
+ ### Binary install
41
+
42
+ Download binary from here: https://github.com/bayashi/highlightrepo/releases
43
+
44
+ ### Go manual
45
+
46
+ If you have golang environment:
47
+
33
48
``` cmd
34
49
go install github.com/bayashi/highlightrepo@latest
35
50
```
You can’t perform that action at this time.
0 commit comments