Created
March 6, 2017 10:03
-
-
Save pierre-b/8c3d2d1722f5d88533142a37ade9ecfc to your computer and use it in GitHub Desktop.
golang fish shell config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# config file | |
# vim ~/.config/fish/config.fish | |
# reload the config | |
# source ~/.config/fish/config.fish | |
# set the workspace path | |
set -x GOPATH /users/my-username/go | |
# add the go bin path to be able to execute our programs | |
set -x PATH $PATH /usr/local/go/bin $GOPATH/bin |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I'm getting an error
go: go: could not create module cache: mkdir /usr/local/go/pkg/mod: permission denied