From 6632715529e40f5cb1558572f39cc0921f5bba75 Mon Sep 17 00:00:00 2001 From: "Kenneth Benzie (Benie)" Date: Fri, 17 May 2024 21:43:46 +0100 Subject: [PATCH] Teach golang xdg manners --- zshenv | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/zshenv b/zshenv index ab7df45..d5f9811 100644 --- a/zshenv +++ b/zshenv @@ -120,3 +120,8 @@ command -v rustup &> /dev/null && \ [ -f $HOME/.config/wget/rc ] && \ export WGETRC=$HOME/.config/wget/rc # TODO: terminfo +export GOBIN=$HOME/.local/bin +export GOPATH=$HOME/.local/share/go +export GOCACHE=$HOME/.cache/go/build +export GOMODCACHE=$HOME/.cache/go/pkg/mod +export GOTMPDIR=$HOME/.cache/go/tmp