From c55664cce3c520f570b85b56a0d4971730e78e7d Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Tue, 12 Jul 2022 11:03:43 +1000 Subject: [PATCH] Move GOPATH into XDG_DATA_HOME --- config/zsh/login/langs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/config/zsh/login/langs b/config/zsh/login/langs index 4a123b7..883e413 100644 --- a/config/zsh/login/langs +++ b/config/zsh/login/langs @@ -3,8 +3,8 @@ local -a newbins # go -[[ -z $GOPATH ]] && export GOPATH=~/.go -newbins+=(~/.go/bin) +[[ -z $GOPATH ]] && export GOPATH=$XDG_DATA_HOME/go +newbins+=($XDG_DATA_HOME/go/bin) # haskell newbins+=(~/.cabal/bin ~/Library/Haskell/bin)