Skip to content

Instantly share code, notes, and snippets.

@afirth
Last active January 2, 2021 13:51
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save afirth/fabc04406eb584601b473f599eb0170a to your computer and use it in GitHub Desktop.
Save afirth/fabc04406eb584601b473f599eb0170a to your computer and use it in GitHub Desktop.
Make binaries installed with go get available on path
# add to [bash/zsh]rc and source
# Golang
which go > /dev/null && \
export GOPATH=$(go env GOPATH) && \
export PATH=$GOPATH/bin:$PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment