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 local -a newbins
# go # go
[[ -z $GOPATH ]] && export GOPATH=~/.go [[ -z $GOPATH ]] && export GOPATH=$XDG_DATA_HOME/go
newbins+=(~/.go/bin) newbins+=($XDG_DATA_HOME/go/bin)
# haskell # haskell
newbins+=(~/.cabal/bin ~/Library/Haskell/bin) newbins+=(~/.cabal/bin ~/Library/Haskell/bin)