diff --git a/cmd/which.go b/cmd/which.go index 168abdd..c13f1b5 100644 --- a/cmd/which.go +++ b/cmd/which.go @@ -17,6 +17,9 @@ type BasicOptions struct { func Which(cmd string, options BasicOptions) (dir string, err error) { + fmt.Println(options.Env) + fmt.Println(options.Sources) + var sourceCommand strings.Builder for _, value := range options.Sources { sourceCommand.WriteString(fmt.Sprintf("source %s && ", value))