asdf-community / asdf-golang

Go plugin for the asdf version manager
https://github.com/asdf-vm/asdf
MIT License
552 stars 92 forks source link

asdf reshim can't find packages under bin #143

Closed x9xhack closed 1 month ago

x9xhack commented 3 months ago

Describe the bug After latest update "$GOBIN" added to set-env files , asdf reshim can't find go packages under bin folder

/bin needs to be added to list-bin-path

echo -n "bin go/bin packages/bin"

rpadovani commented 2 months ago

Got the same issue on Linux and fish, solved in the same way.

Edit ~/.asdf/plugins/golang/bin/list-bin-paths, and make sure the line is

echo -n "bin go/bin packages/bin"

I opened https://github.com/asdf-community/asdf-golang/pull/146 to fix in the codebase