From 94a4973ab96d089a268705bc9e77b92e07bfc363 Mon Sep 17 00:00:00 2001 From: Kujtim Hoxha Date: Wed, 9 Jul 2025 14:53:52 +0200 Subject: [PATCH] chore: remove unused fzf --- internal/fsext/fileutil.go | 11 +---------- 1 file changed, 1 insertion(+), 10 deletions(-) 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 {