@@ -17,10 +17,7 @@ import (
17 ignore "github.com/sabhiram/go-gitignore"
17 ignore "github.com/sabhiram/go-gitignore"
21− rgPath string
20+var rgPath string
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.")
33− fzfPath, err = exec.LookPath("fzf")
35− if log.Initialized() {
36− slog.Warn("FZF not found in $PATH. Some features might be limited or slower.")
41func GetRgCmd(globPattern string) *exec.Cmd {
32func GetRgCmd(globPattern string) *exec.Cmd {