Skip to content

Instantly share code, notes, and snippets.

@nikitavoloboev
Last active December 4, 2022 13:16
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nikitavoloboev/87eb5721fb513b038cf12a1046d3d970 to your computer and use it in GitHub Desktop.
Save nikitavoloboev/87eb5721fb513b038cf12a1046d3d970 to your computer and use it in GitHub Desktop.

Add below to config.fish

set -x GOPATH (go env GOPATH)
set -x PATH $PATH (go env GOPATH)/bin

Add below to zshrc.

export GOPATH="$(go env GOPATH)"
export PATH="$PATH:$GOPATH/bin"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment