aboutsummaryrefslogtreecommitdiff
path: root/sh/profile.d/go.sh
blob: 592b651e76111b67586faa7e5f0ac163c04f947c (plain) (blame)
1
2
3
4
5
6
7
8
9
# Define path for Go code to be installed
GOPATH=$HOME/.local/gocode
export GOPATH

# Prepend GOPATH to PATH for the executables if it exists
if [ -d "$GOPATH"/bin ] ; then
    PATH=$GOPATH/bin:$PATH
fi