From 8ec9ed6f388b811f1296080a48c20a0e0c575637 Mon Sep 17 00:00:00 2001 From: "Peter J. Holzer" Date: Fri, 26 Oct 2018 18:24:32 +0200 Subject: [PATCH] Don't set GO* env vars if ~/go exists ~/go is also used as a cache by a system-installed go compiler, and setting GOROOT messes this up. --- .zshenv | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/.zshenv b/.zshenv index 16bf95b..e5420a3 100644 --- a/.zshenv +++ b/.zshenv @@ -277,19 +277,6 @@ case "$FQDN" in ;; esac -if [ -d $HOME/go ] -then - export GOROOT=$HOME/go - export GOOS=linux - case `uname -m` in - x86_64) - export GOARCH=amd64 - ;; - *) - export GOARCH=386 - esac -fi - case "$FQDN" in tsimri.wsr.ac.at) export GET_PASS_FILES="/home/hjp/wrk/admin/info/pwd_work.gpg /home/hjp/Notes/pw.gpg"