Parcourir la source

Added 'go' environment variables

Fred Damstra il y a 10 ans
Parent
commit
502244668a
1 fichiers modifiés avec 2 ajouts et 1 suppressions
  1. 2 1
      .bashrc

+ 2 - 1
.bashrc

@@ -114,7 +114,8 @@ if ! shopt -oq posix; then
 fi
 
 export GOPATH=$HOME/go
-export PATH=$PATH:$GOPATH/bin
+export GOROOT=/usr/local/src/go
+export PATH=$PATH:$GOROOT/bin
 
 # Add autocompletion for git
 	source ~/.bash/git-completion.bash