瀏覽代碼

Added 'go' environment variables

Fred Damstra 10 年之前
父節點
當前提交
502244668a
共有 1 個文件被更改,包括 2 次插入1 次删除
  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