mirror of
https://github.com/nikdoof/dotfiles.git
synced 2025-12-13 09:42:27 +00:00
[shell-common] Add GOROOT bin folder to path
This commit is contained in:
@@ -17,6 +17,7 @@ fi
|
|||||||
|
|
||||||
# Go stuff
|
# Go stuff
|
||||||
export GOPATH=$HOME/go/
|
export GOPATH=$HOME/go/
|
||||||
|
export PATH=${GOPATH}bin:$PATH
|
||||||
if [ -z ${GOROOT+x} ] && [ -d /usr/local/go ]; then
|
if [ -z ${GOROOT+x} ] && [ -d /usr/local/go ]; then
|
||||||
export GOROOT=/usr/local/go/
|
export GOROOT=/usr/local/go/
|
||||||
export PATH=$PATH:$HOME/go/bin
|
export PATH=$PATH:$HOME/go/bin
|
||||||
|
|||||||
Reference in New Issue
Block a user