From ad63e155642957368eaf3e95d571174bc855d2ff Mon Sep 17 00:00:00 2001 From: Shane C Date: Wed, 10 Jul 2024 21:49:07 -0400 Subject: [PATCH] debug --- cmd/which.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/which.go b/cmd/which.go index 523d5c5..25c2cdb 100644 --- a/cmd/which.go +++ b/cmd/which.go @@ -22,7 +22,7 @@ func Which(cmd string, options BasicOptions) (dir string, err error) { sourceCommand.WriteString(fmt.Sprintf("source %s && ", value)) } - command := exec.Command("/bin/bash", "-c", "which", cmd) + command := exec.Command("which", cmd) if options.Cwd != "" { command.Dir = options.Cwd