Kaynağa Gözat

Added 'go' environment variables

Fred Damstra 10 yıl önce
ebeveyn
işleme
502244668a
1 değiştirilmiş dosya ile 2 ekleme ve 1 silme
  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