From 2b06c1b1fdab2c9e13b3332186ee4b5cc1966da8 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 9 Mar 2016 10:04:30 +1300 Subject: Add go.sh for GOCODE and Go path --- sh/profile.d/go.sh | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 sh/profile.d/go.sh (limited to 'sh') 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 + -- cgit v1.2.3