projectdiscovery / pdtm

ProjectDiscovery's Open Source Tool Manager
https://projectdiscovery.io
MIT License
714 stars 51 forks source link

Optionally add GOPATH/bin || GOBIN to PATH env variable #203

Open Mzack9999 opened 1 year ago

Mzack9999 commented 1 year ago

Please describe your feature request:

The $GOPATH/bin path not present in $PATH environment variable and the subsequent binary not found error is a common scenario for everyone installing any go tool. We should consider adding it as last one along with pdtm one, so that the final PATH env variable looks like this:

export PATH=$PATH:$HOME/.pdtm/bin:$GOPATH/bin

Notes:

gedw99 commented 9 months ago

This is a really good idea.