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

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