diff --git a/internal/fsext/fileutil.go b/internal/fsext/fileutil.go index c3678041de4239cf66247ebbd9cb084cb8eb6b8a..b0829f6226734966a4ec731f56ba395607ec3b75 100644 --- a/internal/fsext/fileutil.go +++ b/internal/fsext/fileutil.go @@ -17,10 +17,7 @@ import ( ignore "github.com/sabhiram/go-gitignore" ) -var ( - rgPath string - fzfPath string -) +var rgPath string func init() { var err error @@ -30,12 +27,6 @@ func init() { slog.Warn("Ripgrep (rg) not found in $PATH. Some features might be limited or slower.") } } - fzfPath, err = exec.LookPath("fzf") - if err != nil { - if log.Initialized() { - slog.Warn("FZF not found in $PATH. Some features might be limited or slower.") - } - } } func GetRgCmd(globPattern string) *exec.Cmd {