Move GOPATH into XDG_DATA_HOME

This commit is contained in:
Danielle McLean 2022-07-12 11:03:43 +10:00
parent 690df57f00
commit c55664cce3
Signed by: 00dani
GPG key ID: 52C059C3B22A753E

View file

@ -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)