diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-09 10:04:30 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-03-09 10:04:30 +1300 |
commit | 2b06c1b1fdab2c9e13b3332186ee4b5cc1966da8 (patch) | |
tree | 3df1c654c9e6580e1455647742bd10ea0ab345e4 | |
parent | Update submodules (diff) | |
download | dotfiles-2b06c1b1fdab2c9e13b3332186ee4b5cc1966da8.tar.gz dotfiles-2b06c1b1fdab2c9e13b3332186ee4b5cc1966da8.zip |
Add go.sh for GOCODE and Go path
-rw-r--r-- | sh/profile.d/go.sh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/sh/profile.d/go.sh b/sh/profile.d/go.sh new file mode 100644 index 00000000..51439221 --- /dev/null +++ b/sh/profile.d/go.sh @@ -0,0 +1,7 @@ +# Define path for Go code to be installed +GOPATH=$HOME/.local/gocode +export GOPATH + +# Prepend GOPATH to PATH for the executables +PATH=$GOPATH/bin:$PATH + |