[shell-common] add GOROOT bin to path

This commit is contained in:
2022-03-30 16:23:42 +01:00
parent 8a3ff289ff
commit 544d5c069e

View File

@@ -20,7 +20,7 @@ export GOPATH=$HOME/go/
export PATH=${GOPATH}bin:$PATH
if [ -z ${GOROOT+x} ] && [ -d /usr/local/go ]; then
export GOROOT=/usr/local/go/
export PATH=$PATH:$HOME/go/bin
export PATH=$PATH:$GOROOT/bin:$HOME/go/bin
fi
# https://github.com/oz/tz