on main help sign in
chore: remove unused fzf
94a4973Kujtim Hoxha
internal/fsext/fileutil.go+1−10
@@ -17,10 +17,7 @@ import (
17 ignore "github.com/sabhiram/go-gitignore"
17 ignore "github.com/sabhiram/go-gitignore"
18)
18)
19
19
20−var (
21− rgPath string
20+var rgPath string
22− fzfPath string
23−)
24
21
25func init() {
22func init() {
26 var err error
23 var err error
@@ -30,12 +27,6 @@ func init() {
30 slog.Warn("Ripgrep (rg) not found in $PATH. Some features might be limited or slower.")
27 slog.Warn("Ripgrep (rg) not found in $PATH. Some features might be limited or slower.")
31 }
28 }
32 }
29 }
33− fzfPath, err = exec.LookPath("fzf")
34− if err != nil {
35− if log.Initialized() {
36− slog.Warn("FZF not found in $PATH. Some features might be limited or slower.")
37− }
38− }
39}
30}
40
31
41func GetRgCmd(globPattern string) *exec.Cmd {
32func GetRgCmd(globPattern string) *exec.Cmd {