Move GOPATH into XDG_DATA_HOME
This commit is contained in:
parent
690df57f00
commit
c55664cce3
1 changed files with 2 additions and 2 deletions
|
@ -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)
|
||||
|
|
Loading…
Reference in a new issue