]> Sergey Matveev's repositories - dotfiles.git/commitdiff
Prevent constant network access in go tools
authorSergey Matveev <stargrave@stargrave.org>
Wed, 24 Feb 2021 13:15:40 +0000 (16:15 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 24 Feb 2021 13:15:40 +0000 (16:15 +0300)
zsh/.zshenv

index ff28109e97f5fc66eb3ebda4c6e838bf923eb289..5cdc7d486e930c916ffd96ee6e2f6e7bcb8528f2 100644 (file)
@@ -82,7 +82,7 @@ ld_library_path=(~/local/lib)
 
 # Go related {{{
 export GOCACHE=/tmp/go-cache
-export GOPROXY=direct
+export GOPROXY=off
 export GOSUMDB=off
 export GOPATH=$HOME/work/gopath
 path=($GOPATH/bin ~/work/go/bin $path)