Teach golang xdg manners

This commit is contained in:
Kenneth Benzie 2024-05-17 21:43:46 +01:00
parent 37fd8b00e3
commit 6632715529

5
zshenv
View File

@ -120,3 +120,8 @@ command -v rustup &> /dev/null && \
[ -f $HOME/.config/wget/rc ] && \ [ -f $HOME/.config/wget/rc ] && \
export WGETRC=$HOME/.config/wget/rc export WGETRC=$HOME/.config/wget/rc
# TODO: terminfo # 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